November 30, 2023, 04:22:35 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: Website plugin: AutoPlay for video web sites  (Read 2933 times)

robvann2

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Website plugin: AutoPlay for video web sites
« on: September 19, 2021, 04:05:07 PM »
Add an AutoPlay option for web sites that have a video.
Some web sites require pressing the triangle arrow of a video, in order to start it playing.
I have had limited success using the generic script that is on the playsignage site.  (it won't work on most sites).
setTimeout(function(){document.getElementsByTagName('video')[0].play()}, 1000);

In particular, the SkyLineWebCams.com sites.
Best regards, Rob


 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines