Enterprise Media Communications Strategies

Home

About Us

Services

Streaming Media
Articles & Tutorials


Workshops & Seminars

Contact

NEW! Check out
Larry's eMedia Weblog
For thoughts on:
Streaming Media Technology, eLearning and Instructional Technology, Media Content Creation and Delivery Strategies

[return to main Creating Interactive Video with MPEG4 page]

XMT Source Code - Authoring Interactive MPEG4 Video with XMT

<XMT-O xmlns="urn:mpeg:mpeg4:xmto:schema:2002" xsi:schemaLocation="urn:mpeg:mpeg4:xmto:schema:2002 xmt-o.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"> <head> <layout metrics="pixel" type="xmt/xmt-basic-layout"> <topLayout width="320" height="240" backgroundColor="white"> <region id="video_region"> <region id="watermark_region" translation="100 -90" size="91 27"/> </region> </topLayout> </layout> </head> <body> <par> <video src="magic_kite_scene1.mp4#video" region="video_region" begin="0s" dur="indefinite"/> <audio src="magic_kite_scene1.mp4#audio" begin="0s" dur="indefinite"/> <img src="emedia_icon91x27.jpg" id="sm_mark" region="watermark_region" begin="0s" dur="indefinite" > <material id="ckey" transparency=".5" > <set id="set1" begin="sm_mark.inBoundsEvent" end="sm_mark.outOfBoundsEvent" attributeName="transparency" to=".1"/> <set id="set2" begin="sm_mark.outOfBoundsEvent" end="sm_mark.inBoundsEvent" attributeName="transparency" to=".5"/> </material> </img> </par> </body> </XMT-O>