Reputation: 13
I am using Mediaplayer.js file for creating media player in sharepoint 2013 , everything works fine but controls(Play , Pause , Volume, Full Screen) not showing ..
Here is my code that i am using for creating video player in sharepoint 2013
mediaPlayer.createMediaPlayer(
videoHolder, videoHolder.id, '400px', '266px',
{
displayMode: 'Inline',
mediaTitle: 'Video Entry',
mediaSource: videoURL,
previewImageSource:'',
autoPlay: true,
loop: false,
mediaFileExtensions:'wmv;wma;avi;mpg;mp3;mp4',
silverlightMediaExtensions:'wmv;wma;mp3;mp4'
}
);
any property for show controls in this function ??
Upvotes: 0
Views: 1270
Reputation: 38
Assuming this is HTML5 - in the video tag just add controls attribute
eg
<video controls>
<source>
</video>
Upvotes: 1