Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15134
| From | "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: How to create youtube links for webpage? |
| Date | 2015-03-24 20:45 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mesidv$ne4$1@dont-email.me> (permalink) |
| References | <5520c742-de1e-479f-8d3c-e7621f32b301@googlegroups.com> <mekdgq$3e2$1@dont-email.me> <df9bfafc-012c-4e74-bc7b-c7d9718ed3d0@googlegroups.com> <mekirv$nn6$1@dont-email.me> <mesf6j$poa$1@solani.org> |
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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web