Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 89

Thread: Ext.ux.YoutubePlayer - a mediaplayer for Ext JS

  1. #31
    Ext User Kevin_Liu's Avatar
    Join Date
    Dec 2007
    Posts
    10
    Vote Rating
    0
      0  

    Thumbs up

    Looks great! THX~

  2. #32
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Atlanta, GA
    Posts
    93
    Vote Rating
    0
      0  

    Default

    I'm trying to get this plugin to work inside of a dashboard portlet system in my local development enviroment by creating the player and controller in the portlet's initComponent section.

    The bbar control panel loads just fine but the player never initalizes the youtube player or calls the oytpr function.

    Here's my code, any ideas are greatly appreciated:
    Code:
    this.playerPanel = new Ext.ux.YoutubePlayer({
    						   		developerKey : YT_KEY,	
    						   		playerId	 : this.id+'-ytplayer',
    						   		videoId		 : this.videoId
    						   	});
    						   
    						   	this.playerPanel.on('ready', function(panel, player) {
    								console.log('playerpanel on ready');
    						   		panel.cueVideoById(this.videoId, 0);
    						   	}, this.playerPanel);
    							
    							this.items = [ this.playerPanel ];
    							this.bbar		 = new Ext.ux.YoutubePlayer.Control({
    					        	player   : this.playerPanel,
    					        	border	 : false,
    					        	id 		 : 'control', 
    					        	style	 : 'border:none;'
    					        });
    BTW: Is there a right way to initialize a player with a default video?

  3. #33
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    604
    Vote Rating
    3
      0  

    Default

    Quote Originally Posted by kai5263499 View Post
    I'm trying to get this plugin to work inside of a dashboard portlet system in my local development enviroment by creating the player and controller in the portlet's initComponent section.

    The bbar control panel loads just fine but the player never initalizes the youtube player or calls the oytpr function.

    Here's my code, any ideas are greatly appreciated:
    Code:
    this.playerPanel = new Ext.ux.YoutubePlayer({
    						   		developerKey : YT_KEY,	
    						   		playerId	 : this.id+'-ytplayer',
    						   		videoId		 : this.videoId
    						   	});
    						   
    						   	this.playerPanel.on('ready', function(panel, player) {
    								console.log('playerpanel on ready');
    						   		panel.cueVideoById(this.videoId, 0);
    						   	}, this.playerPanel);
    							
    							this.items = [ this.playerPanel ];
    							this.bbar		 = new Ext.ux.YoutubePlayer.Control({
    					        	player   : this.playerPanel,
    					        	border	 : false,
    					        	id 		 : 'control', 
    					        	style	 : 'border:none;'
    					        });
    Please add "layout:fit" to your portlets configuration, the video should show up then.

    BTW: Is there a right way to initialize a player with a default video?
    If you mean "this" instead of "there", then yes, it's the right way.

  4. #34
    Ext User
    Join Date
    Jul 2007
    Posts
    10
    Vote Rating
    0
      0  

    Default

    Anyone gotten this to work with modal:true? I can hear the video, but the screen goes black.

    Very nice extension!

  5. #35
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Atlanta, GA
    Posts
    93
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by MindPatterns View Post
    Please add "layout:fit" to your portlets configuration, the video should show up then.
    Thank you! That ended a few hours of frustration for me.

  6. #36
    Ext User
    Join Date
    Apr 2008
    Posts
    3
    Vote Rating
    0
      0  

    Default dates on project page and h.264 support?

    Mindpatterns, looks really cool, I was looking at the release date on the project page and it states 2007. Is that a typo?

    Also does the youtube chromeless player play h.264 (.mov,.mp4?) files? I'm looking for a player that does h.264 and flv but also can reference youtube videos.

    http://groups.google.com/group/yunus...97f07d464e4659

    In research mode ... thanks for any help.

  7. #37
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    604
    Vote Rating
    3
      0  

    Default

    Quote Originally Posted by mandric View Post
    Mindpatterns, looks really cool, I was looking at the release date on the project page and it states 2007. Is that a typo?
    Yeah, it's fixed.

    Quote Originally Posted by mandric View Post
    Also does the youtube chromeless player play h.264 (.mov,.mp4?) files? I'm looking for a player that does h.264 and flv but also can reference youtube videos.

    http://groups.google.com/group/yunus...97f07d464e4659

    In research mode ... thanks for any help.
    The player loads the chromeless flash video into it's panel, thus it can only show what youtube delivers. If there would be a player for h.246 or flv that is controllable via javascript, it would be possible. But as of now, I don't know any (browser-enabled) api that allows you to do that.

  8. #38
    Ext User
    Join Date
    Apr 2008
    Posts
    3
    Vote Rating
    0
      0  

    Default have you looked at flowplayer?

    http://flowplayer.org/

    I am playing with three players right now and flowplayer, jw player and flv player. Flowplayer seems to have the most features.

    http://flv-player.net/
    http://www.jeroenwijering.com/?item=JW_FLV_Player

    Let me know what you think. I'd am interested in working on it if you think it would work or is something that doesn't exist yet.

  9. #39
    Ext User
    Join Date
    Apr 2008
    Posts
    3
    Vote Rating
    0
      0  

    Default javascript interaction examples

    http://home5.inet.tele.dk/nyboe/flas...javascript.htm

    Mindpatterns, it looks like the javascript API is there and well?

    Now I'm pretty sure JW Player doesn't support youtube, but I think flowplayer does.

  10. #40
    Sencha Premium Member
    Join Date
    Jan 2008
    Location
    Atlanta, GA
    Posts
    93
    Vote Rating
    0
      0  

    Default

    I've gotten the video to display correctly with the controls and all on an initial load, but when I remove the player and then later recreate it, the control panel in the bbar doesnt show the play/pause buttons, only a non-working slider and volume bar.

    Additionally, the video seems to reload as 1/4 the size of the actual window.

    Is there some special way I need to get rid of players to force a "clean" load?

Page 4 of 9 FirstFirst ... 23456 ... LastLast

Posting Permissions

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