Video Autoplay in Phoca Download [SOLVED]
Posted: 01 Jun 2015, 14:27
For those who are wanting to have your mp4 videos to play automatically when clicking on the "Play" button on your Phoca Download page of your website I found the solution. I am posting the solution because I just spent hours searching this forum for an answer that would allow my videos in Phoca Download to play automatically. But I could not find any answers or a direct posting regarding this topic. So in order to save time for someone else looking for the same solution here it is!
SOLUTION:
You just have to add the text: "autoplay" to this php file:
components/com_phocadownload/views/play/tmpl/default.php
At lines 16 & 21 you will find the following code:
[/b]
Add the text "autoplay" (without the quotation marks) at the very end of the line of code:
And that's it!!! Your videos will play automatically.
Enjoy this great Joomla! extension!
--
Russ
RnR Fusion Media
SOLUTION:
You just have to add the text: "autoplay" to this php file:
components/com_phocadownload/views/play/tmpl/default.php
At lines 16 & 21 you will find the following code:
Code: Select all
echo '<audio width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 0px;" controls>';Add the text "autoplay" (without the quotation marks) at the very end of the line of code:
Code: Select all
echo '<audio width="'.$this->t['playerwidth'].'" height="'.$this->t['playerheight'].'" style="margin-top: 0px;" controls autoplay>';Enjoy this great Joomla! extension!
--
Russ
RnR Fusion Media