Results 1 to 5 of 5

Thread: Embed YouTube Videos?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    68
    Answers
    1
    Vote Rating
    0
      0  

    Default 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>'
    });

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •