Ich versuche Video js basierte Player auf meiner Webseite. IT arbeitet perfekt in den Desktop-Browser und dem mobilen Browser nicht automatisch die video.I versucht, alle Optionen wie das Spielen:Video Js spielt nicht automatisch im mobilen Browser
var options = {};
var player = videojs('video-js', options, function onPlayerReady() {
videojs.log('Your player is ready!');
// In this context, `this` is the player that was created by Video.js.
this.play();
// How about an event listener?
this.on('ended', function() {
videojs.log('Awww...over so soon?!');
});
});
Noch ist es nicht automatisch das Video abspielen.
Darf ich wissen, haben Sie eine Lösung?
danke @misterben – gitu