1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    9
    Vote Rating
    0
    squall6969 is on a distinguished road

      0  

    Default Embed youtube videos

    Embed youtube videos


    Hi,

    I would like to dynamically update a panel's tpl to integrate a youtube video.

    The problem is, when i call the update function with the html containing the iframe, I am automatically redirected to the src of that same frame. (same problem with Vimeo).
    That is true for an iframe solution (html5). When i first tried to embed with the "object" tag, it worked, but the video always stays on top of everything and it has a fixed position on the screen. Even if including in a scroller container, everytihng moves whereas the video.

    Thank's in advance.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    If you're using iOS, you should just be using youTube's HTML5 video resources.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    9
    Vote Rating
    0
    squall6969 is on a distinguished road

      0  

    Default


    I've already tried to implement an iframe solution.
    Injecting an iframe by updating the tpl redirects me to the source of the iframe.

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    OK, so you've used the advice here: http://apiblog.youtube.com/2010/07/n...be-videos.html ?

  5. #5
    Sencha User
    Join Date
    Nov 2010
    Posts
    9
    Vote Rating
    0
    squall6969 is on a distinguished road

      0  

    Default


    Indeed. The vimeo iframe redirects me the same way.

Similar Threads

  1. Sencha conference 2010 videos
    By peysal in forum Community Discussion
    Replies: 2
    Last Post: 4 Jan 2011, 11:51 PM
  2. Cancel orientation while viewing videos
    By rekam in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 2 Dec 2010, 10:55 AM
  3. Sencha videos on Vimeo
    By robertj98 in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 30 Nov 2010, 1:12 PM
  4. Some Web 2.0 videos (oldies but goodies)
    By jay@moduscreate.com in forum Community Discussion
    Replies: 0
    Last Post: 17 Mar 2008, 12:20 PM

Thread Participants: 1

Tags for this Thread