I’ve created an overlay and want to play videos stored locally on the device when I tap the relevant picture.
The pictures associated with each video are in the background layer. I’ve then added a transparent overlay with just a home icon in the corner.
I’d like the overlay to remain the top layer so you can press the home button at any tome to stop the video and return to the main screen.
My first issue is I can’t get the videos to play. If I have the following URL:
…it just goes to a white screen.
If I add file:// to the URL I get Web page not available / invalid URL.
Here’s my XML for the first item:
<?xml version=”1.0″ encoding=”UTF-8″?>
I’d also like the video to play under the overlay so you can tap a home icon to go back at any time.
Is this possible?
You need to change the URL to be an HTML file.
For example, with a directory layout like this:
– – mainvideo.mp4
– – subvideo.html
– – subvideo.mp4
The URL for the hotspot would be:
The subvideo.html file would contain the html code to play the subvideo.mp4.