By Michael Martin on Thursday, 12 November 2015
Posted in Technical Issues
Likes 0
Views 538
Votes 0
How can I make an embedded audio file automatically play, when someone visits the blog? I asked this same question a while back and got my response only problem is that now the solution no longer applies since the file structure has changed in Easyblog.


Mark replied on Wednesday, June 25 2014, 03:49 PM
Hello Michael,

If you want to enforce all videos to be autoplay by default, edit the file /components/com_easyblog/themes/default/blog.audio.php and locate the codes below at line 23,


'autostart': <?php echo $autoplay; ?>,



Replace it with,


'autostart': true,
Edit the file /components/com_easyblog/themes/wireframe/blogs/blocks/audio.js and locate the codes below:


"autoplay": <?php echo $autoplay ? 'true' : 'false'; ?>,


Replace it with,


"autoplay": true,
·
Thursday, 12 November 2015 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the response.
·
Friday, 13 November 2015 00:42
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Michael If you have any other issues, please start a new thread on the forums
·
Friday, 13 November 2015 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post