Try CumulusClips Cloud Hosting

Is it possible to stop the auto-play feature of the videos?

Is it possible to stop the auto-play feature of the video?

Comments

  • I will take a look at the core files since the video files are pulled out of a database then put into the website something like this i need to look for the class il let you know
  • edited October 10
    i found it go to cc-content/themes/yourtheme/watch.phtml and find autoplay: true; and set it to false the whole line is :
    <video id="video-player" class="video-js vjs-default-skin vjs-16-9" data-setup='{ "controls": true, "autoplay": false, "preload": "auto" }' width="750" height="420" poster="<?=$config->thumbUl?>/<?=$video->filename?>.jpg">
  • Thank you very much!
This discussion has been closed.