Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently April 27th, 2024, 12:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Start the video automatically after loading
PostPosted: March 19th, 2020, 9:37 am 
Offline

Joined: April 13th, 2010, 5:00 pm
Posts: 19
Opus: 9.75
OS: Windows 11
System: DELL
Hello everyone

Loading video address from variable in browser. I am using the Navigate to Variable function and the video is properly loaded into the browser.

My problem is that the video in HTML5 starts automatically and in the Android publication it is only loaded and to start use the browser control.

Browser.startObject (true); did not work

Is there any solution for Android to start the video automatically after loading?


Top
 Profile  
 
 Post subject: Re: Start the video automatically after loading
PostPosted: March 21st, 2020, 8:46 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Is the HTML5 version running in Chrome on Android?

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Start the video automatically after loading
PostPosted: March 21st, 2020, 9:51 am 
Offline

Joined: April 13th, 2010, 5:00 pm
Posts: 19
Opus: 9.75
OS: Windows 11
System: DELL
Hello
I tested on PC in Firefox, Opera and Chrome browsers and multimedia are properly loaded jpg and mp4 file and mp4 video starts automatically. On Android device, HTML5 are not loading multimedia, jpg or mp4 files. This is the case in Chrome and Firefox browsers that are on an Android device.


Top
 Profile  
 
 Post subject: Re: Start the video automatically after loading
PostPosted: March 21st, 2020, 2:26 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Generally, mobile devices won't auto-play audio and video without user interaction. Desktop browsers are following suit and it's becoming standardised across platforms.

Google explain it here for Chrome - https://developers.google.com/web/updat ... cy-changes

I don't have much call for solving this video but with audio you have to create a JS audio element and play it at the start of the project using a click event. Then you can reuse the audio element for autoplay by swapping out the audio source.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group