import pyjd # this is dummy in pyjs.
from pyjamas.ui.RootPanel import RootPanel
from pyjamas.media.Video import Video
from pyjamas.media.Audio import Audio
from pyjamas import Window

if __name__ == '__main__':
    pyjd.setup("public/Media.html?fred=foo#me")
    if True:
        v = Video(Width="640", Height="480",
              StyleName="teststyle",
              Autoplay=True,
              Controls=True,
              src="http://172.20.0.1/home/Downloads/Jungle_alcohol.wmv")
              #src="http://172.20.0.1/home/kiss.the.girl.mp4") 
              #src="file:/home/lkcl/kiss.the.girl.mp4")
              #src="file:/home/lkcl/gizmo.webm")
        RootPanel().add(v)
    
    if False:
        a = Audio(Width="640px", Height="50px",
              StyleName="teststyle",
              Autoplay=True,
              Controls=True,
              #src="http://127.0.0.1/home/Lry_Crane_Copy.mp3")
              #src="file:/home/lkcl/Lry_Crane_Copy.mp3")
              src="file:/home/lkcl/test.ogg")
        RootPanel().add(a)
    

    pyjd.run()

@@ -415,24 +415,104 @@
             
+src=%22http://acfauk/public/services/file.py?file=sample&ext=wmv%22)%0A              #
 src=%22http://

different target