Community Documentation

v3 Knowledgebase

Spotlight Video Autostart

Here is how to make the video spotlight autostart when your video index page is visited.
NOTE: This is only for the default Flowplayer. this will not work for shared video.

Open /module/video/include/component/controller/index.class.php in your editor.

At or Around line 271 you will find the code.
'<script type="text/javascript">$(function() { Phpfox.player.load({id: 'js_video_player', auto: false, type: 'video 

In that line of code look for auto: false, and change the false to true

Clear your site cache and enjoy!