1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    45
    Vote Rating
    0
    jbrown13 is on a distinguished road

      0  

    Default Answered: Embed YouTube Videos?

    Answered: Embed YouTube Videos?


    Hi All

    How would I embed a YouTube video ?

    Thanks

  2. to embed a video you use de embed code from youtube, you can do something like this, using the html property.

    Code:
    Ext.create('Ext.Panel', {   
    html: '<iframe width="560" height="315" src="http://www.youtube.com/embed/AuzyODgWRp4" frameborder="0" allowfullscreen></iframe>'
    });

  3. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    63
    Answers
    1
    Vote Rating
    1
    nmcbride is on a distinguished road

      0  

    Default


    Embed it with an iframe.

  4. #3
    Sencha User
    Join Date
    Jun 2011
    Location
    Monterrey N.L. México
    Posts
    8
    Answers
    1
    Vote Rating
    0
    nix_v2 is on a distinguished road

      0  

    Default


    to embed a video you use de embed code from youtube, you can do something like this, using the html property.

    Code:
    Ext.create('Ext.Panel', {   
    html: '<iframe width="560" height="315" src="http://www.youtube.com/embed/AuzyODgWRp4" frameborder="0" allowfullscreen></iframe>'
    });

  5. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    45
    Vote Rating
    0
    jbrown13 is on a distinguished road

      0  

    Default


    Thanks

  6. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    45
    Vote Rating
    0
    jbrown13 is on a distinguished road

      0  

    Default


    How would I code it so the video would stop playing when I go to another page?
    Now the YouTube Video plays but it only stop When I stop it. Would like it to stop if I go off the page.

    Thanks

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi