LoginVSI – Automatically Play Video Content In Chrome
During my investigations and scripting to allow randomised web content for Google Chrome when using LoginVSI I came across another small annoyance. Whereas I could now deliver a random video page to Chrome as part of a workload the video would not automatically play.
The initial workaround for the workloads was to load the page and then simply send a TAB and then SPACE to the application using the VSI_Type_Fixed function as shown below which would then start the video but this was again, not a very elegant solution:
VSI_Type_Fixed("Chrome#1","{TAB}{SPACE}",10)
Looking in to it further I found that this was because Google Chrome does not allow video’s to be automatically played unless they are muted.
A quick modification to the video content pages and I was then able to simply call the video content web page and the video starts automatically when opened in Chrome.
Further information on the modifications which were required can be found at LoginVSI – Enabling Video Autoplay For Chrome
Link added to the wiki page containing details and the modifications required