Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:46:06 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Embed youtube  (Read 2272 times)
pandaman

Offline Offline

Posts: 4


« on: July 06, 2007, 11:54:00 PM »

How can I embed youtube video in my pages ?
Logged
artlader

Offline Offline

Posts: 12


« Reply #1 on: July 07, 2007, 12:45:31 AM »

Hi, Pandaman,

I think you can take the embed markup they give you for each movie and paste it into the html matkup of a wysiwyg page:

Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/QUOqFV_v5po"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/QUOqFV_v5po" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Or does that not work? (It works for me.)

-- Art
« Last Edit: July 07, 2007, 12:47:50 AM by artlader » Logged
pandaman

Offline Offline

Posts: 4


« Reply #2 on: July 07, 2007, 08:35:38 AM »

When I paste this code in it shows up as code in the published page
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #3 on: July 07, 2007, 08:45:06 AM »

you need to paste the code into the sourceview of your prefered WYSIWYG Editor ... in HTML Area look out for an icon looking like this: <> (similar in Xinha) and in FCK it is the button "sourcecode".

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

pandaman

Offline Offline

Posts: 4


« Reply #4 on: July 07, 2007, 10:02:04 AM »

many thanks  smiley
Logged
virgil

Offline Offline

Posts: 177



« Reply #5 on: September 10, 2008, 09:06:13 AM »

you need to paste the code into the sourceview of your prefered WYSIWYG Editor ... in HTML Area look out for an icon looking like this: <> (similar in Xinha) and in FCK it is the button "sourcecode".

cheers

Klaus

hi klaus

that's exactly what i did ... but it doesn't work ... what i get is just a rectangular empty earea like a missing pic
(btw i work with fck and wb 2.6.3)

what's wrong? thks for help!

cheers
virgil
Logged

Virgil - the pre-baked-stuff baker -   wink)
erpe

Offline Offline

Posts: 2077


WWW
« Reply #6 on: September 10, 2008, 09:50:27 AM »

Have you tried your page from the frontend?

In the backend you only see the embedded code in the sourceview, but it works (with wb 2.7)

rgds

erpe
Logged

virgil

Offline Offline

Posts: 177



« Reply #7 on: September 10, 2008, 09:59:18 AM »

Have you tried your page from the frontend?

In the backend you only see the embedded code in the sourceview, but it works (with wb 2.7)

rgds

erpe

hi erpe

yes i did, the frontend shows up the same (with wb 2.6.3) ... it seems that after saving a part of teh code embedding the video ist deleted ... fck mistake?

cheers
vic
Logged

Virgil - the pre-baked-stuff baker -   wink)
erpe

Offline Offline

Posts: 2077


WWW
« Reply #8 on: September 10, 2008, 10:02:49 AM »

I don't know.

Please compare the original code from youtube with your code from fck in an editor.
Than you will see.
In wb 2.7 it works with the fck-editor: http://www.erpe.bplaced.net/pages/songs-a/after-midnight.php

rgds

erpe
Logged

virgil

Offline Offline

Posts: 177



« Reply #9 on: September 10, 2008, 10:06:31 AM »

me again

i checked it out:

i creat a wysiwys page
change to source view
paste the following:
Code:
<object width="243" height="200">
<param name="movie" value="http://www.youtube.com/v/6T0maQ9R0-0" />

<param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="243" height="200" wmode="transparent" src="http://www.youtube.com/v/6T0maQ9R0-0"></embed></object>
save

when i look againe at the source code i get this:
Code:
<object height="200" width="243">
<param value="http://www.youtube.com/v/6T0maQ9R0-0" name="movie" />
<param value="transparent" name="wmode" /></object>
the rest has gone!!!

Huh

any hints?
vic
Logged

Virgil - the pre-baked-stuff baker -   wink)
erpe

Offline Offline

Posts: 2077


WWW
« Reply #10 on: September 10, 2008, 10:25:49 AM »

Seems to me that the whole "embed-code" is gone.
Have you tired with another editor (I don't know which editors are available for your wb-version)?

rgds

erpe
Logged

virgil

Offline Offline

Posts: 177



« Reply #11 on: September 10, 2008, 10:33:22 AM »

HTMLarea did the work!

it seems to be definetly an editor issue ... i will try if an update of fck will help (but this later, at least i have now a workaround) tks for help.

cheers
vic
Logged

Virgil - the pre-baked-stuff baker -   wink)
iggyFlames

Offline Offline

Posts: 25



« Reply #12 on: September 10, 2008, 07:10:34 PM »

I've found in the hard way using <embed> do not work in this case (I mean, not with FCK).
My solution: insert a flash object and put the url and other config stuff in the "insert flash popup"; this is a lame solution because just works with flash films, but tha's exactly what I want, so...

Regards,

Iggy
Logged
vyni

Offline Offline

Posts: 566


« Reply #13 on: September 11, 2008, 12:58:53 PM »

The easiest way to embed Youtube-videos

You´ll find here
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
cnwb

Offline Offline

Posts: 234



WWW
« Reply #14 on: September 11, 2008, 05:27:20 PM »

If I might suggest a solution to your youtube issue

take a look at the following TinyMCE v3.1.1 WYSIWYG Editor located in websitebakers add-ons Repository

Insert the YouTube video ID of the video you want to appear. set width height save your done!
Logged

iggyFlames

Offline Offline

Posts: 25



« Reply #15 on: September 15, 2008, 12:03:36 AM »

Well, I don't understand why one would need TinyMCE. I do exactly the same with FCKEditor. Not that I have something against TinyMCE, mind you. It's just that I really can't see why the change is necessary.
Logged
vyni

Offline Offline

Posts: 566


« Reply #16 on: September 15, 2008, 09:32:42 AM »

@iggyFlames
 grin dont´t tell me lies

with TinyMCE You have an icon, there is a connector for Youtube integrated by default. In FCK You wouldn´t find. Either You extend FCK or You do something else. - But not exactly the same.

But - it would be more helpful if You tell us what You do exactly, so someone else could use Your HowTo and save time.

Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
iggyFlames

Offline Offline

Posts: 25



« Reply #17 on: September 16, 2008, 02:02:23 AM »

Ohhhhhhhh, now I understand what you were talking about how easy is with TinyMCE. embarassed You are right, FCK have no youtube connector integrated. But FCK has a "insert flash button", and no, I do not extend my FCK .
I would post a explanation before but my language skills fails me sometimes.
What I do is very simple: I just grab the url informed by youtube at <embed src=......> and use it to configure the flash included.
I don't know how "orthodox" this is but I have the same problem as pandaman but I was afraid it's just because I'm green with WB, so I come to this solutions... It's not ideal but works and it's fast and easy. You can configure sizes and other things too.

Regards,

Iggy
Logged
Hans>NULL

Offline Offline

Posts: 1389


« Reply #18 on: September 16, 2008, 02:38:43 AM »

@virgil

Module; code2 (http://websitebaker.at/wb/module/code2.html)

Insert Flash to html

Reg. Hans
« Last Edit: September 16, 2008, 02:43:47 AM by Hans>NULL » Logged

/dev/null Ort ohne Wiederkehr
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!