nativescript-exoplayer
nativescript-exoplayer copied to clipboard
I hear only the voice when I am playing video on Android
Any Idea?
I would need a sample showing this....
<Page class="page" navigatingTo="onNavigatingTo" loaded="PageLoaded" navigatingFrom="UpdateSessionInDB" xmlns:exoplayer="nativescript-exoplayer" xmlns:dd="nativescript-drop-down" xmlns:VideoPlayer="nativescript-videoplayer" xmlns:NK="./appcode/nativescript-numeric-keyboard" actionBarHidden="true">
<StackLayout id = "zoomAndroidvideo" className="collapse" height = "100%" verticalAlignment="top"><exoplayer:Video id="AndroidVideoplayer" controls="true" loaded="videoplayerLoaded" loop="true" autoplay="false" height="100%" fill = "true" src="" /> /////////////////////////////////// Js code: var androidVidPlayer = require('nativescript-videoplayer'); // maybe not necessary
androidVidPlayer = CurPage.getViewById("AndroidVideoplayer");
androidVidPlayer.src = CurRecordFile;
androidVidPlayer.play();
///////////////////// it works file on IOS. CurRecordFile is just recorded video file on device. I hear the voide but not the image so I thibk the file to play is been founded