Friday, February 24, 2012

[YouTube-API] Re: Custom Player

Hello,

I'm told that the Players team may have a chance to add in the
playlist player parameter to trigger user uploads playback directly at
some point within the next couple of months. Unfortunately the request
is on the backburner until then due to some more pressing work.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Feb 21, 4:51 pm, heavymark <ch...@heavymark.com> wrote:
> Thank you for the response Jeff.
>
> I'm certainly ok with hacks as long as the end result is correct, but
> in this case it does not appear to be so.
>
> That is it appears there is currently now way to have the proper
> preview show up. Since other than on YouTube.com individual video
> pages, YouTube videos are not playing until the user clicks on them so
> everyone only sees the previews which users expect to be for that
> video, so a random preview or a black screen placeholder wouldn't make
> any sense.
>
> So even with the hacks there is no way to get it to currently work
> properly, other than doing the normal playlist method which requires
> users to manually add each video to a player (which is limited in the
> number of videos it can have).
>
> Certainly understand your working on it and running into issues that
> take time, so in this case my only question is then why did you (you
> being google) remove the fully working Custom Player before a working
> replacement was ready? Being able to recreate the old Custom Player
> would be great and then Google would be able to take as long as needed
> to create a replacement product using the newer iFrame method, and
> such.
>
> I've developed 100s of congressional websites in the past several
> years for the Hill and nearly all of our sites use the Custom Player,
> until it was discontinued and we've had to force new Congressional
> clients to use the playlist method which is difficult since it
> requires them to manually add to a playlist and once they reach a
> certain number they have to remove one each time they add one. Where
> is on the custom player it was all automatic.
>
> If there is any other way to get the proper previews to show up
> automatically or any timeline such as a month, 6 months or a year,
> please let me know as our clients would be most appreciated. Thank you
> Jeff.
>
> On Feb 21, 4:33 pm, Jeffrey Posnick <je...@google.com> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> >  I'm saying that you should probably create a static playlist in your
> > account that contains a video that you don't mind briefly showing up
> > as the thumbnail when the player is first initialized. It could be a
> > black screen or something else innocuous. There's no need to update
> > the playlist after you've created it.
>
> >  As mentioned, this is all a bit hacky until there's an official
> > embedded playlist player URL parameter for loading in user uploads, at
> > which point you could just switch to using that and not have to use
> > the JavaScript API at all.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Feb 17, 4:39 pm, heavymark <ch...@heavymark.com> wrote:
>
> > > I don't have any playlists.
>
> > > That is a custom player is mean to avoid needing to manually add each
> > > video.
>
> > > The code you provided seems to do that, but I'm not sure on how the
> > > initial preview would work. It sounds like you are saying I would
> > > still need to create playlist and upload each video to, since the
> > > latest video from that said playlist would be used at the image for
> > > the custom player. Which of course would defeat the point of not
> > > having to manually curate a playlist.
>
> > > Or are you saying that if I just create an emily playlist in the
> > > account, grab the playlist ID and use that in your code it will know
> > > to grab the latest videos screenshot?
>
> > > On Feb 17, 4:35 pm, Jeffrey Posnick <je...@google.com> wrote:
>
> > > > Hello,
>
> > > >  If you go to your channel on youtube.com and view one of your
> > > > playlists, the playlist id should be included as part of the URL,
> > > > prefixed with a "PL".
>
> > > >  I'm assuming those characters are just an artifact of how jsfiddle
> > > > handled some of my keyboard input.
>
> > > > Cheers,
> > > > -Jeff Posnick, YouTube API Team
> > > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > > @YouTubeDev
>
> > > > On Feb 16, 4:48 pm, heavymark <ch...@heavymark.com> wrote:
>
> > > > > Oh also when copying and pasting the code next to the video I see
> > > > > these three characters:
>
> > > > > ​
>
> > > > > Is that a known issue (since this isn't an official playlist code)?
> > > > > For now I could try wrapping the script in a div and doing a negative
> > > > > text-indent or something maybe.
>
> > > > > On Feb 16, 4:39 pm, heavymark <ch...@heavymark.com> wrote:
>
> > > > > > So another question.
>
> > > > > > I updated the username to one of my choosing and the video updates,
> > > > > > but when it initially loads it shows a preview of the Google YouTube
> > > > > > account. From your notes I assume it's because the thumbnail is being
> > > > > > generated by the nohtml5 list number.
>
> > > > > > So assuming PL72CF07D200AA2AFA directly relates to the
> > > > > > GoogleDevelopers YouTube account, could you share how that number is
> > > > > > generated so I can generate a new one for my new channel id? I try
> > > > > > more google searching on my own in the mean time =)
>
> > > > > > On Feb 16, 4:20 pm, heavymark <ch...@heavymark.com> wrote:
>
> > > > > > > Thank you so much, can't wait to try this out.
>
> > > > > > > And do hope in the future for a standard embed, but this will
> > > > > > > definitely do. Thanks again boss.
>
> > > > > > > On Feb 16, 4:18 pm, Jeffrey Posnick <je...@google.com> wrote:
>
> > > > > > > > Hello,
>
> > > > > > > >  Here's a basic example of loading in a playlist player with the
> > > > > > > > videos in the GoogleDevelopers YouTube account:
>
> > > > > > > >  http://jsfiddle.net/YtRwE/
>
> > > > > > > >  Note that there are two "hacks" in that code to work around current
> > > > > > > > issues with the playlist player; read the comments in the code for
> > > > > > > > more info. The need for these workarounds is partly why we haven't
> > > > > > > > made more noise yet about this new functionality.
>
> > > > > > > > Cheers,
> > > > > > > > -Jeff Posnick, YouTube API Team
> > > > > > > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > > > > > > @YouTubeDev
>
> > > > > > > > On Feb 16, 9:30 am, heavymark <ch...@heavymark.com> wrote:
>
> > > > > > > > > Is there anyway you share basic example that uses
>
> > > > > > > > > loadPlaylist({listType: 'user_uploads', list: 'ACCOUNT_NAME'})
>
> > > > > > > > > In the API link I can't find live examples that use that code. Trying
> > > > > > > > > to figure out what other code I need to make it work. If you know of
> > > > > > > > > any sites that use that load playlist feature that I can look through
> > > > > > > > > that would be great.
>
> > > > > > > > > On Feb 15, 5:12 pm, Jeffrey Posnick <je...@google.com> wrote:
>
> > > > > > > > > > Hello,
>
> > > > > > > > > >  The playlist player does support loading in all videos in a channel.
> > > > > > > > > > If you're using the Player API, you can call loadPlaylist({listType:
> > > > > > > > > > 'user_uploads', list: 'ACCOUNT_NAME'}) to load the uploads for
> > > > > > > > > > ACCOUNT_NAME into a playlist player instance, as documented at
>
> > > > > > > > > >  http://code.google.com/apis/youtube/js_api_reference.html#loadPlaylist
>
> > > > > > > > > >  There's no corresponding URL query parameter that could be used in a
> > > > > > > > > > simple embed code to directly load in a user_uploads player (there is
> > > > > > > > > > for both the 'playlist' and 'search' listTypes). I have a feature
> > > > > > > > > > request that's been open for a while now to add one—I'll ping the
> > > > > > > > > > Players API team again to see if they could bump up the priority of
> > > > > > > > > > that request.
>
> > > > > > > > > > Cheers,
> > > > > > > > > > -Jeff Posnick, YouTube API Team
> > > > > > > > > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > > > > > > > > @YouTubeDev
>
> > > > > > > > > > On Feb 14, 12:29 pm, heavymark <ch...@heavymark.com> wrote:
>
> > > > > > > > > > > Dear Jeff,
>
> > > > > > > > > > > I have the same question.
>
> > > > > > > > > > > Sincehttp://youtube.com/custom_playerwasdiscontinuedlastyearwehave
> > > > > > > > > > > been stuck with a solution for our clients.
>
> > > > > > > > > > > The playlist option has two major flaws thecustomplayer did not.
>
> > > > > > > > > > > 1. Playlist's can't be autopopulated by all videos in channel.
> > > > > > > > > > > 2. Playlist's are limited in the amount of videos the can hold. (100 or 200
> > > > > > > > > > > I think).
>
> > > > > > > > > > > Before any video added to a YouTube channel would show up in acustom
> > > > > > > > > > > player. Now instead the user has to also add it to a playlist, and once
> > > > > > > > > > > they have a 100 in a playlist, each time they add a new one to that
> > > > > > > > > > > playlist manually, they need to manually remove the oldest one.
>
> > > > > > > > > > > YouTube official documents say you can simply grab the embed code from a
> > > > > > > > > > > channel, but the code there is only for the latest video playing, there is
> > > > > > > > > > > no actual embed code for a channel. The only solution Google has
> > > > > > > > > > > recommended is a YouTube Channel Widget which also does not work because
> > > > > > > > > > > aside from adding extra junk around the video, it is limited in size. If
> > > > > > > > > > > you change the width or height the actual video still remains the same size.
>
> > > > > > > > > > > So I'm wondering why theCustomPlayer was discontinued since now
> > > > > > > > > > > alternative was offered with equal features?
>
> > > > > > > > > > > Solutions would be have a playlist available that will always show the
> > > > > > > > > > > latest videos from a channel, that is a standard iFrame style so works on
> > > > > > > > > > > HTML when Flash isn't available like all your new embeds.
>
> > > > > > > > > > > A second option (temporary) would be to allow the Widget to be resized.
>
> > > > > > > > > > > If none of the above is
>
> ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment