tMoA

~ The only Home on the Web You'll ever need ~

    Youtube and other Videos

    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sun Jul 04, 2010 4:22 pm

    Now that I've explained which playlists are good to embed in posts, I'll explain how to find them and embed them.

    The code needed to embed a youtube playlist is located in what I will call the "playlist homepage". Here's the same example as before:
    https://www.youtube.com/view_play_list?p=CD63BCE86EA89F8B
    In the upper right is the code to copy and paste in order to embed the playlist using the third way I described.

    The typical design for the "playlist homepage" has not changed much since the beginning of the playlist feature on youtube. However, youtube doesn't make it easy to get to this page. Links to get to a "playlist homepage", and therefore to the embed code for that playlist, have always been hard to find in the user interface, and youtube is not helping at all by changing the design of its interface all the time. That's why I'll share with you later a little program I coded myself to avoid the task of finding this link in the constantly changing youtube interface.

    So if you have a video in several parts and want to find a playlist for that series, the first thing to do is to check whether you are not already viewing it in a playlist. Here is a link to the first part of a video outside of a playlist:
    https://www.youtube.com/watch?v=bx-LpRSbbeA

    and here is a link to the same video playing inside a playlist:
    https://www.youtube.com/watch?v=bx-LpRSbbeA&feature=PlayList&p=CD63BCE86EA89F8B&playnext_from=PL&index=0&playnext=1

    In the case you are already viewing a playlist like the link above, you will notice in the user interface a box on the right pertaining to that playlist:

    Youtube and other Videos - Page 2 Cap210

    As of this writing, the link to the playlist homepage is in that box ("See all videos"), but as I said, youtube is not very concerned about keeping it that way.

    Another way to find a playlist is to search for it:

    Youtube and other Videos - Page 2 New-212

    You search for the title of your video (1) and set the Search options to get only playlists results (2). Then to find the best playlist according to the criterias I talked about in my previous post, you look at:
    - the playlist titles (3),
    - the preview of the playlist entries (4) to get a hint at whether a playlist contains all the parts of the series,
    - the playlist creator (5) in case you find a playlist created by the same user who uploaded the series, in this example that would be user brittle13
    - the number of videos for a playlist so that it has no more no less videos than the number of parts for the series you search a playlist for (6)

    As you can see in my example, the first page of results are playlists with much more videos than the 5 for the series we're looking for. Also none of these playlists is titled from the series, "Ayn Rand on Donahue 1979". And none is from the user who uploaded the series, brittle13. So what do we do? We can either :
    - go to the next pages of results until we find a playlist that fits our needs,
    - make the playlist we want if we have a youtube account (which I won't go into in that post),
    - or do what we could have done as a starter: go see the playlists of user brittle13 and see if he made the one we want.

    To do that, we can either:

    - search for his username + the title we think the playlist should have (ex.: Ayn Rand brittle13)
    https://www.youtube.com/results?search_type=search_playlists&search_query=Ayn+Rand+brittle13&uni=3
    In that case we get exactly the playlist we're looking for as the first result.

    - go to his channel page by clicking on his name wherever it appears on youtube:
    https://www.youtube.com/user/brittle13

    Then, we're supposed to see a Playlists link and be able to browse brittle13's playlists, and eventually find the playlist we want if it exists, and if the user has allowed his playlists to be browsed from his channel, and if he has enabled that particular playlist to appear on his channel. That makes a lot of ifs, and guess what: youtube provides no link to a "playlist homepage" if you access that playlist from a channel. So there is no way to get the embed code from there, at least from the user interface. However, the playlist ID is in the URL (here it is CD63BCE86EA89F8B):
    https://www.youtube.com/user/brittle13#p/c/CD63BCE86EA89F8B
    So if one knows the URL pattern to the playlist homepages, it's possible to guess a specific playlist homepage:
    https://www.youtube.com/view_play_list?p=CD63BCE86EA89F8B

    That's why I coded myself a little bookmarklet to get to a playlist homepage, no matter where I am on the web, for as long as there is a valid youtube playlist ID in the url. I'll share that with you and help you set it up. First, bookmark a page, any page, so as to have a new favorite in your browser. Then right-click this favorite and edit its properties. There are 2 main properties for a favorite, its name and its URL. Change the name to "get youtube playlist" or something like that. And set the URL to:
    Code:
    javascript:void(location.href='http://www.youtube.com/view_play_list?p='+location.href.match(/[^A-Z0-9]([A-Z0-9]{16})([^A-Z0-9]|$)/)[1])
    Ignore any warning that this URL might not be safe.

    Now everytime you are viewing a playlist from a youtube channel, select this favorite and you'll be taken to the playlist homepage where the embed code is located.

    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Mon Jul 05, 2010 11:39 am

    I managed to post a playlist metaw cheers
    Now I'll take some time to study that little booklet you designed .
    Nearly all set now Wink

    My wish to know how to proceed with playlists goes back to PA .
    " Ask and you'll receive " Cheerful
    Thank you so much for your patience .

    Love for You
    mudra
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Mon Jul 05, 2010 7:44 pm

    I'm glad you worked it out mudra.

    There is a possibility that the third way (pasting the HTML embed code) stops working in the future because it's unusual for forums to allow that kind of code to be used directly into posts. If it does stop working, then those posts would be blank, nothing would show up, assuming no other text was posted. Not to mention that playlists can be changed or edited at anytime. So it would certainly be good practice to post a URL to click along with that code. For instance the URL of the first video in the playlist. Like that:

    https://www.youtube.com/watch?v=bx-LpRSbbeA&feature=PlayList&p=CD63BCE86EA89F8B&playnext_from=PL&index=0&playnext=1

    <object width="480" height="385"><param name="movie" value="https://www.youtube.com/p/CD63BCE86EA89F8B&hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/p/CD63BCE86EA89F8B&hl=en_US&fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"></embed></object>

    If for any reason, the playlist won't show on the forum, at least we can click on the link and watch the first video of the playlist on youtube.
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Tue Jul 06, 2010 3:51 am

    Yes indeed metaw .
    Thank you for the extra tip Cheerful

    Love from me
    mudra
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 10:43 am

    If you have a youtube account, you can make a playlist and embed it here. Note that this will disclose the name of your youtube account/channel.

    First you have to make a playlist. The youtube user interface changed a little since this video but the main info is still there:

    https://www.youtube.com/watch?v=dzDuTYWQiyA

    <object width="425" height="344"><param name="movie" value="https://www.youtube.com/v/dzDuTYWQiyA&hl=en_US&fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/dzDuTYWQiyA&hl=en_US&fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

    What has changed since this tutorial is the privacy settings for playlists. I am not 100% sure but I think the privacy option as showed above doesn't work anymore. Now if you want to make your playlist public so you can embed it here, you have to enable the playlist on your channel and here is a tutorial about it:

    <object width="560" height="340"><param name="movie" value="https://www.youtube.com/v/3ASAeAkt2y4&hl=en_US&fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/3ASAeAkt2y4&hl=en_US&fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>

    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 10:53 am

    metaw3 wrote:
    That's why I coded myself a little bookmarklet to get to a playlist homepage, no matter where I am on the web, for as long as there is a valid youtube playlist ID in the url. I'll share that with you and help you set it up. First, bookmark a page, any page, so as to have a new favorite in your browser. Then right-click this favorite and edit its properties. There are 2 main properties for a favorite, its name and its URL. Change the name to "get youtube playlist" or something like that. And set the URL to:
    Code:
    javascript:void(location.href='http://www.youtube.com/view_play_list?p='+location.href.match(/[^A-Z0-9]([A-Z0-9]{16})([^A-Z0-9]|$)/)[1])
    Ignore any warning that this URL might not be safe.

    Now everytime you are viewing a playlist from a youtube channel, select this favorite and you'll be taken to the playlist homepage where the embed code is located.


    I must say I got lost on this part of your post metaw.
    I reread it again today and understood better what to do .
    I pasted that URL as it reads here :

    Code:
    javascript:void(location.href='http://www.youtube.com/view_play_list?p='+location.href.match(/[^A-Z0-9]([A-Z0-9]{16})([^A-Z0-9]|$)/)[1])

    However Safari can't recognize it .
    I am working on a MAc would that make any difference ?

    Love from me
    mudra

    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 10:57 am

    edited as posted on wrong thread


    Last edited by mudra on Sat Jul 24, 2010 11:05 am; edited 1 time in total
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 10:59 am

    mudra wrote:However Safari can't recognize it .


    Hey you're right. I did a quick search and Safari has a problem with those:

    http://www.pimpmysafari.com/bookmarklets


    Due to Safari’s incomplete javascript support, not all bookmarklets work in Safari,


    I'll write a version for Safari.
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 11:04 am

    Well I tried it on Firefox as well and am encountering the same problem.
    I don't understand how that code works in a browser.Usually all pages start with " http://www.... "

    Love from me
    mudra
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 11:07 am

    If you have a youtube account, you can make a playlist and embed it here. Note that this will disclose the name of your youtube account/channel.

    First you have to make a playlist. The youtube user interface changed a little since this video but the main info is still there:

    https://www.youtube.com/watch?v=dzDuTYWQiyA

    I actually have missed this post .
    Funnily enough though I searched myself for a vid like that lately .
    I followed all it's steps but stalled at one point when I understood that
    in order to make a playlist I would have to upload vids from my computer
    when all I wanted to do is to use existing vids already posted on youtube
    and make a playlist with those.
    I may have missed something .

    I'll go over your own video and see if I can switch the light on and move further.

    Thanks

    Love from me
    mudra


    Last edited by mudra on Sat Jul 24, 2010 11:20 am; edited 1 time in total
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 11:18 am

    I tested it in Safari and it works. You add a bookmark then Show All Bookmarks and edit the name and address of the bookmark. Here is a screenshot:

    Youtube and other Videos - Page 2 Cap211

    Yes all pages start with http but it's not a page. It's a piece of code in a language called javascript. As a bookmark, clicking on it will execute that code in the current page. In that case what the code does is parsing the URL of the current page to see if there is info about a youtube playlist, and if so it takes you to the playlist homepage.
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 11:42 am

    I just realized that I can post HTML without javascript parsed. I didn't even think of trying it. So mudra forget my code, just right-click and bookmark this link and you'll have a new bookmarklet to get to youtube playlist homepages:

    <a href="javascript:void(location.href='https://www.youtube.com/view_play_list?p='+location.href.match(/[^A-Z0-9]([A-Z0-9]{16})([^A-Z0-9]|$)/)[1])">Youtube playlist</a>

    To test if it works, go to either one of these 2 links:
    https://www.youtube.com/watch?v=bx-LpRSbbeA&feature=PlayList&p=CD63BCE86EA89F8B&playnext_from=PL&index=0&playnext=1
    https://www.youtube.com/user/brittle13#p/c/CD63BCE86EA89F8B/0/bx-LpRSbbeA

    Then select your new bookmark and you'll be taken to this page if it works:
    https://www.youtube.com/view_play_list?p=CD63BCE86EA89F8B
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 11:52 am

    mudra wrote:I understood that
    in order to make a playlist I would have to upload vids from my computer

    No but you do need a youtube account.
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 11:55 am

    Allright metaw .

    Well the link to the youtube playlist site is always where I go when I want to find one.
    Is this the site you are referring to as your link above does'nt work ?

    https://www.youtube.com/view_play_list?p=595A40209CB17411

    Love from me
    mudra
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 11:57 am

    metaw3 wrote:
    mudra wrote:I understood that
    in order to make a playlist I would have to upload vids from my computer

    No but you do need a youtube account.

    I have a youtube account .
    I just need to take the time to go through the vid you posted
    and take it from there.

    Love from me
    mudra
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 12:10 pm

    mudra wrote:your link above does'nt work ?

    It is not meant to be clicked but bookmarked. Maybe this video will make it more visual:

    https://www.youtube.com/watch?v=QrwevUN0KdQ

    <object width="425" height="344"><param name="movie" value="https://www.youtube.com/v/QrwevUN0KdQ&hl=en_US&fs=1?rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/QrwevUN0KdQ&hl=en_US&fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

    What the guy does in the video with the "Note This" link, do it with this link: <a href="javascript:void(location.href='https://www.youtube.com/view_play_list?p='+location.href.match(/[^A-Z0-9]([A-Z0-9]{16})([^A-Z0-9]|$)/)[1])">Youtube playlist</a>

    The reason for all this is that many times you will find a playlist while visiting a channel, like this:
    https://www.youtube.com/user/brittle13#g/c/CD63BCE86EA89F8B

    And there is no link to the playlist homepage from there, but you can just click on your new "Youtube playlist" bookmark, and you will be taken to the right page.
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 12:16 pm

    cheers Hurray I got it now and checked it with these other links you suggested .
    It works well sunny

    Thank you so much for your patience metaw

    Hugs
    Love from me
    mudra

    PS: I'll let you know how I get along with making a playlist .
    newel
    newel

    Posts : 803
    Join date : 2010-04-12

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  newel on Sat Jul 24, 2010 12:31 pm

    mudra wrote: cheers Hurray I got it now and checked it with these other links you suggested .
    It works well sunny


    Making things work for people is my second greatest pleasure in life. The first is making things work for me. Toast
    mudra
    mudra

    Posts : 19965
    Join date : 2010-04-09
    Age : 65
    Location : belgium

    Youtube and other Videos - Page 2 Empty Re: Youtube and other Videos

    Post  mudra on Sat Jul 24, 2010 1:26 pm

    metaw3 wrote:
    mudra wrote: cheers Hurray I got it now and checked it with these other links you suggested .
    It works well sunny


    Making things work for people is my second greatest pleasure in life. The first is making things work for me. Toast

    The sequence seems right metaw and proves to be successfull .
    I'll share that toast with you Toast

    Love from me
    mudra

      Current date/time is Thu Feb 27, 2020 6:09 am