* enable download button for video and audio content * fix media player source and button display * show notifications for video downloads. fix double playback. * fix ongoing playback when back button pressed * fix double-playback when navigating to related content links * update url for stop download
18 lines
522 B
JavaScript
18 lines
522 B
JavaScript
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
|
|
|
export const doPushDrawerStack = (routeName, params) => dispatch =>
|
|
dispatch({
|
|
type: Constants.ACTION_PUSH_DRAWER_STACK,
|
|
data: { routeName, params },
|
|
});
|
|
|
|
export const doPopDrawerStack = () => dispatch =>
|
|
dispatch({
|
|
type: Constants.ACTION_POP_DRAWER_STACK,
|
|
});
|
|
|
|
export const doSetPlayerVisible = (visible, uri) => dispatch =>
|
|
dispatch({
|
|
type: Constants.ACTION_SET_PLAYER_VISIBLE,
|
|
data: { visible, uri },
|
|
});
|