Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  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