Select your best hookup:
Local
Gay
Asian
Latin
East Europe

Back To Blog Entries

Converting iFrame Code to Object Code
by camperpaul at 12/7/2012 8:51:03 PM


The eleven characters displayed in red in the above examples is the actual name of the video file. Notice that the File Name is the same in all three examples.


Here is the video produced by the above code:


So now, I can hear you asking, "How can I convert the code?"

Highlight this code and copy/paste it into 'Notepad'; save it as 'VidCodeConv.txt'. You can now use this as a template.

value="http://www.youtube.com/embed/**FileName**?version=3&hl=en_US">

src="http://www.youtube.com/v/**FiileName**?version=3&hl=en_US" type="application/x-shockwave-flash"
width="340" allowscriptaccess="always" allowfullscreen="true">

How to post a video:

  1. Copy/paste the template into the blog or forum.
  2. Locate the video on Youtube.
  3. With the video running, Right Click on the video.
  4. Click on Copy Embed HTML.
  5. Now paste the iframe code into the blog or forum.
  6. Locate the File Name in the iframe code, highlight it and hit copy.
  7. Paste the File Name into the template where it says, "**FileName**".
  8. Delete the iframe code.
Alternatively, you can copy/paste the last eleven characters of the short URL into the template.

Notice I didn't include the "height" parameter in the template; it is not necessary because the video file contains the "aspect ratio" information; your browser will calculate the height.



Occasionally we find a video we want to share on DH but there is no "Old Code" when we click "Share".

Here is a sample of the new iFrame Code:

Here is the Old Code for the same video:
value="http://www.youtube.com/embed/FhPPJ5dolxU?version=3&hl=en_US">


src="http://www.youtube.com/v/FhPPJ5dolxU?version=3&hl=en_US" type="application/x-shockwave-flash"
width="340" height="250" allowscriptaccess="always" allowfullscreen="true">



Here is the "short URL for the video:

http://youtu.be/FhPPJ5dolxU
When commenting on this blog, please
use the

tag between paragraphs.
This makes it so much easier to read.
The < and > symbols are part of the tag.




Comments

ontheloose69
12/7/2012 8:59:41 PM

damn thats all foreign to me.

peacewilly
12/7/2012 9:03:00 PM

I was just going to post a blog bye The Eagles... hope to post it before the New Year!!! Thanks, Paul...
lessiesgirl



12/7/2012 9:05:18 PM

All of that just flew over my heard......are ya talking Greek?????

camperpaul
12/7/2012 9:05:38 PM


@ Bruce,

Until DH lets us use the "iframe" code, it is the only way we can post Youtube videos.

Merry Christmas

Life is the journey, not the destination.
lessiesgirl



12/7/2012 9:05:55 PM

Make that head!!!!

supermariodude
12/7/2012 9:24:42 PM

think i broke something in my head reading that

camperpaul
12/7/2012 9:30:22 PM


@ Mario,

I didn't say it was going to be easy.

Merry Christmas

Life is the journey, not the destination.

sireena
12/7/2012 9:32:01 PM

Why do they have to change things that aren't broken?

treblemasters
12/7/2012 9:32:16 PM

that's just too much work for a video!

camperpaul
12/7/2012 9:37:18 PM


@ Roxy,

Because they can and they gave me something to do.

Merry Christmas

Life is the journey, not the destination.

sireena
12/7/2012 9:38:29 PM

yea...but you LIKE it Paul! Us computer dummies get a headache!!!!

supermariodude
12/7/2012 10:01:47 PM

so easy a caveman can't do it lol

josephfromabove
12/7/2012 10:11:14 PM

THanks Paul

jenbutterflies
12/7/2012 11:00:44 PM

Oh man...I'm so confused!

peacewilly
12/7/2012 11:13:48 PM

What are the odds????

lol


camperpaul
12/7/2012 11:26:43 PM


@ Jen,

No need to feel cornfused …

Merry Christmas

Life is the journey, not the destination.

camperpaul
12/7/2012 11:33:02 PM


@ Mibloved,

Send me a friend request so we can chat and I can walk you through this stuff.

Merry Christmas

Life is the journey, not the destination.
misty_4you2



12/8/2012 4:12:13 AM

Thank You Paul

mrusedup
12/8/2012 2:04:41 PM

Another way Paul, for those that don’t want to rewrite the code is… When you copy the “iframe” code & paste in the reply of the thread, click on “preview” it will show the video, click on the “share” in the upper right of the video screen, another lil window will open go to the “share” in that window and copy the old code, go back to the reply thread window delete the “iframe” code and paste the old code that you just copied.
xbrockx



12/9/2012 4:35:49 PM

Thank you, thank you, thank you
bobmc_1



12/9/2012 8:11:20 PM

I am doing somehting wrong with the conversion i cant get anything to show except the dang coe on the preview
bobmc_1



12/9/2012 8:25:58 PM

Try Working with this one i cant seem to get it right i wanted to post it to my blog its one of mine http://youtu.be/S5LK8g4STbc

camperpaul
12/9/2012 10:17:33 PM

@Bob,

Here is your video:

Re-read the instructions (I made a few changes) and try again.



Life is the journey, not the destination.
waxfm



12/10/2012 7:02:35 AM

Paul I dedicate this to you! Thank you sir.

digitaldog
12/10/2012 10:31:16 AM


Only special people
and
dogs that can type
are allowed to
" post videos in the new iFrame format "..
Please
send me money and


-XoXoXoX-
Digital Dog
And ALL my friends....


digitaldog
12/10/2012 1:50:07 PM

http://www.tools4noobs.com/online_tools/youtube_xhtml/

Members with minimal computer skills
and wishing to post videos on DH go THERE..
( it is a safe place )

-XoXoXoX-
Digital Dog
And ALL my friends....


rosesandsmiles
12/10/2012 4:00:45 PM

OK, I give up. I am a very determined person and I won't give up but damn I have tried at least a dozen times or more with no results. I will try again later, I will not let this defeat me

terry50sclassic
12/10/2012 5:46:02 PM

dam paul glad this is simple . Are you sure this isn't obama explaing his budget plan?

terry50sclassic
12/10/2012 8:59:51 PM

ok, I went to that tool site it wants to know what the url code is or the old code . what the hell is that ?. If I have to go thru ten stepts to do this shit why bother ?

terry50sclassic
12/10/2012 9:15:08 PM

ok, paul . not to be a winer. I did go to genator web site for u tube . found and posted the embed code in the text frame from rolling stone satifaction. but clikced on generate code and all i get is no valid vidio found . Now what ?