WebMoviePlayer.DesktopURL

From Xojo Documentation

Property (As String )


aWebMoviePlayer.DesktopURL = newStringValue
or
StringValue = aWebMoviePlayer.DesktopURL

New in 2011r2

Supported for all project types and targets.

When the web application is running on a desktop/laptop browser or one with high bandwidth, this is the URL that will be used to play the movie.

Notes

WebMoviePlayer can play MP4 movie files (MPEG4 / H.264 codecs). It first tries to do this using the HTML5 Video tag. If the browser you are using does not support the HTML5 video tag in conjunction with MP4 movie files, then WebMoviePlayer attempts to play the video using Flash (9.0.32 or later). Even though it uses Flash in this case, WebMoviePlayer cannot play Flash videos.

You need to call WebMoviePlayer.Reset after changing the movie URL.

The URLs must be actual URLs that would also work in a web browser. They cannot be local file URLs from a FolderItem.

Example

This example lets you set the movie in code:

MoviePlayer1.DesktopURL = "http://www.test.com/mymovie.m4v"
MoviePlayer1.Reset