jwplayer,convert,div,to,mp4,player

Peter 7/29/2016 1people says helpful

this code will convert 'dvVideo' div to jwplayer, you need to reference jwplayer first.

JavaScript
 jwplayer('dvVideo').setup({
    id: 'FlashPlayer',
    file: newurl,
    flashplayer: '/jwplayer/jwplayer.flash.swf',
    type: 'mp4',
    autostart: false,
    width: 440,
    height: 300,
    events: {
        onReady: function () {
            playerReady( this);
        },
        onTime: playerOnTime,

    }
});
 

Report Bug

Please Login to Report Bug

Reported Bugs

Comments

Please Login to Comment

Comments