- Posts: 3
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- Autoplay Suddenly Not Working in Chrome and Opera
Autoplay Suddenly Not Working in Chrome and Opera
- Jay Stevens
-
Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago #168044
by Jay Stevens
Autoplay Suddenly Not Working in Chrome and Opera was created by Jay Stevens
I have al .mp4 video on the local server that has played in AllVideos previously, but autoplay has quit working in Chrome and Opera. I'm on Joomla! 3..8.8 and AllVideos 4.8 with the autoplay default set to on. When I load the page, the video loads, but all I get is a big "Play" caret. When it's clicked, the video plays.
My best guess is that this relates to the new default that both Chrome and Opera have recently issued that sets autoplay off for videos with audio. Is this a known issue? Has anyone else experienced this issue? Is there a parameter in the current version of AllVideos to mute the video, or is this planned for the future?
My best guess is that this relates to the new default that both Chrome and Opera have recently issued that sets autoplay off for videos with audio. Is this a known issue? Has anyone else experienced this issue? Is there a parameter in the current version of AllVideos to mute the video, or is this planned for the future?
Please Log in or Create an account to join the conversation.
- Ernestine
-
- Offline
- New Member
Less
More
- Posts: 11
6 years 10 months ago - 6 years 10 months ago #168052
by Ernestine
Replied by Ernestine on topic Autoplay Suddenly Not Working in Chrome and Opera
I have the same problem. Autoplay works in IE and Firefox but no longer in Chrome.
Can u help us?
Site: www.alexsb.nl/
Can u help us?
Site: www.alexsb.nl/
Last edit: 6 years 10 months ago by Ernestine.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #168065
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Autoplay Suddenly Not Working in Chrome and Opera
Hello,
Is there a link to the issue available?
Is there a link to the issue available?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jay Stevens
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
6 years 10 months ago #168069
by Jay Stevens
Replied by Jay Stevens on topic Autoplay Suddenly Not Working in Chrome and Opera
It's at www.crim-law.net/beyondboating. The video is set to autoplay and plays in Firefox and Edge. It does not play in Opera or Chrome. I suspect this is the result of Chrome's new autoplay policy setting.
developers.google.com/web/updates/2017/09/autoplay-policy-changes
If I change the Chrome default autoplay_policy to "No user gesture required" the video autoplays.
developers.google.com/web/updates/2017/09/autoplay-policy-changes
If I change the Chrome default autoplay_policy to "No user gesture required" the video autoplays.
Please Log in or Create an account to join the conversation.
- Ernestine
-
- Offline
- New Member
Less
More
- Posts: 11
6 years 10 months ago #168111
by Ernestine
Replied by Ernestine on topic Autoplay Suddenly Not Working in Chrome and Opera
Is there a solution?
Please Log in or Create an account to join the conversation.
- Ernestine
-
- Offline
- New Member
Less
More
- Posts: 11
6 years 10 months ago #168119
by Ernestine
Replied by Ernestine on topic Autoplay Suddenly Not Working in Chrome and Opera
Hi,
Can one of the moderators look at this problem?
Ernestine
Can one of the moderators look at this problem?
Ernestine
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 10 months ago #168135
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Autoplay Suddenly Not Working in Chrome and Opera
Unfortunately since Chrome blocks autoplay there is little we can do.
A workaround would be a simple JS script which when the site loads triggers a click on the play button
api.jquery.com/trigger/
A workaround would be a simple JS script which when the site loads triggers a click on the play button
api.jquery.com/trigger/
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ernestine
-
- Offline
- New Member
Less
More
- Posts: 11
6 years 9 months ago #168379
by Ernestine
Replied by Ernestine on topic Autoplay Suddenly Not Working in Chrome and Opera
Hi Krikor,
I tried the solution with the trigger. But i don't know where to put the script. I haven't much experience with javascript. Can you please help me?
Greetz, Ernestine
I tried the solution with the trigger. But i don't know where to put the script. I haven't much experience with javascript. Can you please help me?
Greetz, Ernestine
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 9 months ago #168391
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Autoplay Suddenly Not Working in Chrome and Opera
This really comes down to the template you are using.
It could be placed on the main js scripts file or if your template is using one, a custom scripts file.
The latter choice if offered is the ideal.
It could be placed on the main js scripts file or if your template is using one, a custom scripts file.
The latter choice if offered is the ideal.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jay Stevens
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
6 years 9 months ago #168440
by Jay Stevens
Replied by Jay Stevens on topic Autoplay Suddenly Not Working in Chrome and Opera
I tried the following jQuery script:
<script>
$(document).ready(function(){
$(".player-poster.clickable").trigger();
});
</script>
but Google Chrome still won't auto-play the video. Has anyone had any success with a jQuery script in making Chrome autoplay a video?
<script>
$(document).ready(function(){
$(".player-poster.clickable").trigger();
});
</script>
but Google Chrome still won't auto-play the video. Has anyone had any success with a jQuery script in making Chrome autoplay a video?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 9 months ago #168456
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Autoplay Suddenly Not Working in Chrome and Opera
Try:
(function($){
$(document).ready(function(){
$(".player-poster.clickable").trigger('click');
});
})(jQuery);
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- Autoplay Suddenly Not Working in Chrome and Opera