Embed youtube video

16 views
Skip to first unread message

Julio Revka

unread,
Apr 6, 2014, 4:18:49 PM4/6/14
to pyjs-...@googlegroups.com
I found a video example in the pyjs example catalog, but their Media example is non-functioning (i.e. the video player shows up but nothing can play on it). How can I embed a youtube video using pyjs? I tried to following but it does not seem to work


v = Video(Width="640", Height="480",
              StyleName="teststyle",
              Autoplay=True,
              Controls=True,
              src="https://www.youtube.com/embed/CHV6BjuQOZQ"
            )

Janjaap Bos

unread,
Apr 17, 2014, 7:20:49 AM4/17/14
to pyjs-...@googlegroups.com
You can use a HTML widget with the following HTML text:

<iframe width="853" height="480" src="http://www.youtube.com/embed/CHV6BjuQOZQ?rel=0&amp;hd=1" frameborder="0" allowfullscreen></iframe>



--

---
You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyjs-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages