Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15121 > unrolled thread

How to create youtube links for webpage?

Started byaamirshayanshaikh@gmail.com
First post2015-03-21 11:00 -0700
Last post2015-03-23 02:47 +0000
Articles 9 — 6 participants

Back to article view | Back to comp.lang.php


Contents

  How to create youtube links for webpage? aamirshayanshaikh@gmail.com - 2015-03-21 11:00 -0700
    Re: How to create youtube links for webpage? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-21 18:32 +0000
      Re: How to create youtube links for webpage? Aamir Shaikh <aamirshayanshaikh@gmail.com> - 2015-03-21 12:31 -0700
        Re: How to create youtube links for webpage? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-21 20:04 +0000
          Re: How to create youtube links for webpage? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-24 20:50 +0100
            Re: How to create youtube links for webpage? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-24 20:45 +0000
        Re: How to create youtube links for webpage? Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-24 18:56 +0000
      Re: How to create youtube links for webpage? richard <noreply@example.com> - 2015-03-22 22:33 -0400
        Re: How to create youtube links for webpage? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-23 02:47 +0000

#15121 — How to create youtube links for webpage?

Fromaamirshayanshaikh@gmail.com
Date2015-03-21 11:00 -0700
SubjectHow to create youtube links for webpage?
Message-ID<5520c742-de1e-479f-8d3c-e7621f32b301@googlegroups.com>
I want to create links for my webpage by clicking which specified video of YouTube could play  and video must be embedded..

[toc] | [next] | [standalone]


#15122

From"Beauregard T. Shagnasty" <a.nony.mous@example.invalid>
Date2015-03-21 18:32 +0000
Message-ID<mekdgq$3e2$1@dont-email.me>
In reply to#15121
aamirshayanshaikh wrote:

> I want to create links for my webpage by clicking which specified video
> of YouTube could play  and video must be embedded..

The necessary HTML:

<iframe 
   title="YouTube video player" 
   class="youtube-player" 
   type="text/html" 
   width="600" height="400" 
   src="http://youtube.com/embed/abcdefghijk"
   frameborder="0" allowFullScreen>
</iframe>

Naturally, you replace "abcdefghijk" with the code for your particular 
video. Adjust width and height as required.

-- 
   -bts
   -This space for rent, but the price is high

[toc] | [prev] | [next] | [standalone]


#15123

FromAamir Shaikh <aamirshayanshaikh@gmail.com>
Date2015-03-21 12:31 -0700
Message-ID<df9bfafc-012c-4e74-bc7b-c7d9718ed3d0@googlegroups.com>
In reply to#15122
On Saturday, March 21, 2015 at 11:33:59 AM UTC-7, Beauregard T. Shagnasty wrote:
> aamirshayanshaikh wrote:
> 
> > I want to create links for my webpage by clicking which specified video
> > of YouTube could play  and video must be embedded..
> 
> The necessary HTML:
> 
> <iframe 
>    title="YouTube video player" 
>    class="youtube-player" 
>    type="text/html" 
>    width="600" height="400" 
>    src="http://youtube.com/embed/abcdefghijk"
>    frameborder="0" allowFullScreen>
> </iframe>
> 
> Naturally, you replace "abcdefghijk" with the code for your particular 
> video. Adjust width and height as required.
> 
> -- 
>    -bts
>    -This space for rent, but the price is high

Thanks Beauregard T. Shagnasty ....but I cant change this abcdsd when click on link..

[toc] | [prev] | [next] | [standalone]


#15124

From"Beauregard T. Shagnasty" <a.nony.mous@example.invalid>
Date2015-03-21 20:04 +0000
Message-ID<mekirv$nn6$1@dont-email.me>
In reply to#15123
Aamir Shaikh wrote:

> Beauregard T. Shagnasty wrote:
>> aamirshayanshaikh wrote:
>> > I want to create links for my webpage by clicking which specified
>> > video of YouTube could play  and video must be embedded..
>> 
>> The necessary HTML:
>> 
>> <iframe
>>    title="YouTube video player" class="youtube-player"
>>    type="text/html"
>>    width="600" height="400" src="http://youtube.com/embed/abcdefghijk"
>>    frameborder="0" allowFullScreen>
>> </iframe>
>> 
>> Naturally, you replace "abcdefghijk" with the code for your particular
>> video. Adjust width and height as required.
> 
> Thanks Beauregard T. Shagnasty ....but I cant change this abcdsd when
> click on link..

You don't change it ... you type *your* unique code in the HTML of your 
web page. My "abcdefghijk" is just a filler because I did not know the 
exact code to *your* video. (Nor the URL of your web page.)

Try using this URL in the code above:
   src="http://youtube.com/embed/ZdqjcMmjeaA"

-- 
   -bts
   -This space for rent, but the price is high

[toc] | [prev] | [next] | [standalone]


#15133

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2015-03-24 20:50 +0100
Message-ID<mesf6j$poa$1@solani.org>
In reply to#15124
Beauregard T. Shagnasty wrote:

> Aamir Shaikh wrote:
> 
>> Beauregard T. Shagnasty wrote:
>>> aamirshayanshaikh wrote:
>>>> I want to create links for my webpage by clicking which specified
>>>> video of YouTube could play  and video must be embedded..
>>>
>>> The necessary HTML:
>>>
>>> <iframe
>>>    title="YouTube video player" class="youtube-player"
>>>    type="text/html"
>>>    width="600" height="400" src="http://youtube.com/embed/abcdefghijk"
>>>    frameborder="0" allowFullScreen>
>>> </iframe>
>>>
>>> Naturally, you replace "abcdefghijk" with the code for your particular
>>> video. Adjust width and height as required.
>>
>> Thanks Beauregard T. Shagnasty ....but I cant change this abcdsd when
>> click on link..
> 
> You don't change it ... you type *your* unique code in the HTML of your 
> web page. My "abcdefghijk" is just a filler because I did not know the 
> exact code to *your* video. (Nor the URL of your web page.)
> 
> Try using this URL in the code above:
>    src="http://youtube.com/embed/ZdqjcMmjeaA"

Apparently, the OP is/was looking for some kind of playlist, i.e. a list
of links to the videos; as soon as a link is clicked, the respective
video will be embedded into the page.

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#15134

From"Beauregard T. Shagnasty" <a.nony.mous@example.invalid>
Date2015-03-24 20:45 +0000
Message-ID<mesidv$ne4$1@dont-email.me>
In reply to#15133
Christoph M. Becker wrote:

> Beauregard T. Shagnasty wrote:
> 
>> Aamir Shaikh wrote:
>> 
>>> Beauregard T. Shagnasty wrote:
>>>> aamirshayanshaikh wrote:
>>>>> I want to create links for my webpage by clicking which specified
>>>>> video of YouTube could play  and video must be embedded..
>>>>
>>>> The necessary HTML:
>>>>
>>>> <iframe
>>>>    title="YouTube video player" class="youtube-player"
>>>>    type="text/html"
>>>>    width="600" height="400"
>>>>    src="http://youtube.com/embed/abcdefghijk"
>>>>    frameborder="0" allowFullScreen>
>>>> </iframe>
>>>>
>>>> Naturally, you replace "abcdefghijk" with the code for your
>>>> particular video. Adjust width and height as required.
>>>
>>> Thanks Beauregard T. Shagnasty ....but I cant change this abcdsd when
>>> click on link..
>> 
>> You don't change it ... you type *your* unique code in the HTML of your
>> web page. My "abcdefghijk" is just a filler because I did not know the
>> exact code to *your* video. (Nor the URL of your web page.)
>> 
>> Try using this URL in the code above:
>>    src="http://youtube.com/embed/ZdqjcMmjeaA"
> 
> Apparently,

Not so much...   :-)

> the OP is/was looking for some kind of playlist, i.e. a list
> of links to the videos; as soon as a link is clicked, the respective
> video will be embedded into the page.

I did something like that awhile back for a client. Specific videos were 
listed in a table along with other information (a list of vehicles for 
sale). Clicking a link re-called the page with the video code as a GET 
statement in the URL, and my above <iframe> code produced an embedded 
frame for the video when the page refreshed itself. (The vehicle info, 
including the YouTube code, came from a database.)

The OP didn't actually ask for that, though. I suppose we won't know until 
the OP shows us his best effort so far.

-- 
   -bts
   -This space for rent, but the price is high

[toc] | [prev] | [next] | [standalone]


#15132

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2015-03-24 18:56 +0000
Message-ID<mesc00$r4g$1@dont-email.me>
In reply to#15123
On Sat, 21 Mar 2015 12:31:46 -0700, Aamir Shaikh wrote:

> Thanks Beauregard T. Shagnasty ....but I cant change this abcdsd when
> click on link..

No, you have to do that when you create the link. That's just the youtube 
code for the video that you want to play.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#15125

Fromrichard <noreply@example.com>
Date2015-03-22 22:33 -0400
Message-ID<46fs59x65bej.22hga26z6g7y$.dlg@40tude.net>
In reply to#15122
On Sat, 21 Mar 2015 18:32:58 +0000 (UTC), Beauregard T. Shagnasty wrote:

> aamirshayanshaikh wrote:
> 
>> I want to create links for my webpage by clicking which specified video
>> of YouTube could play  and video must be embedded..
> 
> The necessary HTML:
> 
> <iframe 
>    title="YouTube video player" 
>    class="youtube-player" 
>    type="text/html" 
>    width="600" height="400" 
>    src="http://youtube.com/embed/abcdefghijk"
>    frameborder="0" allowFullScreen>
> </iframe>
> 
> Naturally, you replace "abcdefghijk" with the code for your particular 
> video. Adjust width and height as required.

don't use the embed part. Just use the raw link as shown on the original
video.
https://www.youtube.com/watch?v=zpXLD9TrOgo

I do it this way on my videos.
Flowplayer works quite well with this.

[toc] | [prev] | [next] | [standalone]


#15126

From"Beauregard T. Shagnasty" <a.nony.mous@example.invalid>
Date2015-03-23 02:47 +0000
Message-ID<menusb$qfq$1@dont-email.me>
In reply to#15125
richard the sto0pid wrote:

> Beauregard T. Shagnasty wrote:
>
>> aamirshayanshaikh wrote:
>>>
>>> ... and video must be embedded..
>> 
>> The necessary HTML:
>>    ... src="http://youtube.com/embed/abcdefghijk"
> 
> don't use the embed part.

Re-read the OP's request, sto0pid.

> I do it this way on my videos.

So what? Your web sites suck.

-- 
   -bts
   -This space for rent, but the price is high

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web