Hi,
Is it possible to use the Media Player with external videos on a web site ?
I am using the following script and it works properly.
NewArray "[VideoSources]"
ArrayPush "[VideoSources]" "app/files/a.mp4"
ArrayPush "[VideoSources]" "app/files/b.mp4"
ArrayPush "[VideoSources]" "app/files/c.mp4"
SetVar "[CurrentVideoIndex]" "0" "Number"
ArrayLength "[VideoSources]" "[TotalVideoSources]"
ArrayGetItem "[VideoSources]" "[CurrentVideoIndex]" "[CurrentVideoPath]"
MediaSetSource "MediaPlayer1" "" "[CurrentVideoPath]" "" ""
But can I use something like this ?
NewArray "[VideoSources]"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/a.mp4"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/b.mp4"
ArrayPush "[VideoSources]" "www.egovmetrics.com/AppMobilePlatform/Video/c.mp4"
SetVar "[CurrentVideoIndex]" "0" "Number"
ArrayLength "[VideoSources]" "[TotalVideoSources]"
ArrayGetItem "[VideoSources]" "[CurrentVideoIndex]" "[CurrentVideoPath]"
MediaSetSource "MediaPlayer1" "" "[CurrentVideoPath]" "" ""
It can be useful to handle the media content on a web site.
Thanks
Best
Joseph Caristena