1. #1
    Ext User
    Join Date
    Oct 2010
    Posts
    6
    Vote Rating
    0
    anishkumar is on a distinguished road

      0  

    Default Playing You tube video using sencha

    Playing You tube video using sencha


    I try to play a you tube video in my site.for that i use the following code
    1. var pnl = new Ext.Panel({
    2. layout: {
    3. type: 'vbox',
    4. pack: 'center'
    5. },
    6. items: [{
    7. xtype: 'video',
    8. url: 'youtube url',
    9. loop: true,
    10. width: 500,
    11. height: 400,
    12. poster: 'Screenshot.png'
    13. }],
    14. fullscreen: true
    15. })
    But the above code not works.any idea to play the youtube video.i use html:'youtube url'. it works on browser but not works in iphone or android.Thanks

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    1) Don't number your code, just use the correct CODE tags.
    2) Is it loading the HTML5 version or the flash?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    The micro devices on which Touch is usually run do not support Flash.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by Animal View Post
    The micro devices on which Touch is usually run do not support Flash.
    Which is why I asked. I would think YouTube would be smart enough to switch to HTML5 when required but I think you have to manually join the HTML5 beta in YouTube which is what may trip people up...? Not too sure, I really don't watch YouTube videos.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Ext User
    Join Date
    Oct 2010
    Posts
    6
    Vote Rating
    0
    anishkumar is on a distinguished road

      0  

    Default


    it is not loading.

  6. #6
    Ext User
    Join Date
    Feb 2010
    Posts
    2
    Vote Rating
    0
    DarCas is on a distinguished road

      0  

    Default


    Use <embed> tag and you will be happy!

  7. #7
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    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


    Quote Originally Posted by anishkumar View Post
    it is not loading.
    Have you tried the HTML5 video tag???

  8. #8
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I thought this was what the Video component was all about.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  9. #9
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    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


    That's what i meant. <sigh>

  10. #10
    Ext User
    Join Date
    Feb 2010
    Posts
    2
    Vote Rating
    0
    DarCas is on a distinguished road

      0  

    Default


    Just don't use Video component ... only use embed tag ... you can use it without problems and you will interface your app at the YouTube player native on your iDevice

Similar Threads

  1. Sencha Video Panel, how to make it work?
    By EZboy in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 11 Sep 2010, 2:49 PM
  2. How to get the use Sencha touch's G User interface as in the introductory video?
    By JayRobertson in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 8 Jul 2010, 9:37 AM
  3. Need help for playing video in html5
    By prashantB in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 28 Jun 2010, 3:52 AM
  4. Playing Avi video using EXTJS
    By bhangale.parag in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 30 Sep 2009, 3:14 AM
  5. Adding a You Tube video into an Ext Panel
    By pmruk in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 27 May 2009, 6:56 AM

Thread Participants: 4

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar