I need to play videos from Assert library with description below. Can any one give the solution. I used Mediaplayer.JS from default 15 hive folder its not working. This is my code

<script src="/sites/dev/_Layouts/15/SP.js">
</script><script type="text/javascript" src="/sites/dev/MediaPlayer/MediaPlayer.js">
<div id="MediaPlayerHost">
        var MediaURL = URL;
    '500px', '333px',
        displayMode: 'Fullscreen',
        mediaTitle: 'Sample',
        mediaSource: MediaURL,
        autoPlay: true,
        loop: false,
        mediaFileExtensions: 'wmv;wma;avi;mpg;mp3;3gp;mp4;',
        silverlightMediaExtensions: 'wmv;wma;mp3;'
<div id='MediaPlayerHost'>
  • What does your code look like, what have you done to debug? What is happening? We need information to help you identify your issue, not write the application for you. – Eric Alexander Oct 15 '15 at 14:38
  • I have added my code – Venkatesh Kumar Balasubramani Oct 15 '15 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.