MOCpages : Share your LEGO® creations
LEGO models my own creation MOCpages toys shop MOCpages help
Welcome to the world's greatest LEGO fan community!
Explore cool creations, share your own, and have lots of fun together.  ~  It's all free!
Conversation »
Youtube embed blocked
Join to comment
I seem to be unable embed a youtube video when uploading a moc. I remember to use the old code, but when progressing to the preview, it doesn't let me and announces that "Please do not put applets on your page". Since when was a youtube embed been an applet? I'm not exactly sure if this is just my problem, but embed videos seem to work fine for other people's recent mocs. That is if my eyes don't fail me.

Have I missed something, since I haven't uploaded anything for a month?
Permalink
| June 29, 2013, 10:35 am
Quoting Monarth GS
I seem to be unable embed a youtube video when uploading a moc. I remember to use the old code, but when progressing to the preview, it doesn't let me and announces that "Please do not put applets on your page". Since when was a youtube embed been an applet? I'm not exactly sure if this is just my problem, but embed videos seem to work fine for other people's recent mocs. That is if my eyes don't fail me.

Have I missed something, since I haven't uploaded anything for a month?


No, last week I uploaded a MOC and it worked. Yesterday I tried but for some reason didn't. However, if you copy an already existant code, it still works, and if you modify it properly, you can put the music. It seems it's something about the URL on the code, I'm not sure.

Permalink
| June 29, 2013, 10:47 am
I just added a video a minute ago, to replace an older one of lower quality, it worked fine fore me. I don't know what you guys are talking about,

Here's how i did it:
share
embed

settings were:

NO: show suggested videos when finished
NO: enable privacy enhanced code
Yes: use old embed code
Permalink
| June 29, 2013, 10:57 am
Wait, i just moved it to a differnt spot and it didn't work. weird.
Permalink
| June 29, 2013, 11:00 am
 Group moderator 
Quoting Monarth GS
I seem to be unable embed a youtube video when uploading a moc. I remember to use the old code, but when progressing to the preview, it doesn't let me and announces that "Please do not put applets on your page". Since when was a youtube embed been an applet? I'm not exactly sure if this is just my problem, but embed videos seem to work fine for other people's recent mocs. That is if my eyes don't fail me.

Have I missed something, since I haven't uploaded anything for a month?



Please refer to the section on adding video from the help page http://www.mocpages.com/help/blog/2008/07/those-new-fangled-moving-pictures.html

Permalink
| June 29, 2013, 11:05 am
found a solution:

Use this:
<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/___=en_US&version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/___=en_US&version=3"; type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

in the 2 places where it says ___ put the part of the url where it has the numbers and letters that are different than any other parts, for instance, the video i put has this one: aWPpydo0md4
Permalink
| June 29, 2013, 11:08 am
Quoting andros tempest


Please refer to the section on adding video from the help page http://www.mocpages.com/help/blog/2008/07/those-new-fangled-moving-pictures.html

I did and it wasn't exactly helpful.
Permalink
| June 29, 2013, 12:21 pm
Yesterday someone asked how to embed, so I told him, and he said it gave him the no-applet error message. I'd assumed he just did it wrong, but nope. Same thing happened to me yesterday without me even noticing it at first- the embedded video just didn't show up and I forgot to check the problem out.
Permalink
| June 29, 2013, 12:42 pm
Quoting TheLegoNoitAll .
found a solution:

Use this:
<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/___=en_US&version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/___=en_US&version=3"; type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

in the 2 places where it says ___ put the part of the url where it has the numbers and letters that are different than any other parts, for instance, the video i put has this one: aWPpydo0md4

That left me with a blank white player for some reason.

However, as L.A. Miranda suggested, it worked by copying an existing code and changing the link. It was rather odd since I saw no difference between the code you gave and the one I used.
Permalink
| June 29, 2013, 4:20 pm
Quoting Monarth GS
That left me with a blank white player for some reason.

However, as L.A. Miranda suggested, it worked by copying an existing code and changing the link. It was rather odd since I saw no difference between the code you gave and the one I used.


There is one, at this part: =en_US&version=3">

In the 'old code', this part is different.
Permalink
| June 29, 2013, 4:56 pm
hl=en_US&amp;rel=0"

Is said part in the old code.
Permalink
| June 29, 2013, 5:12 pm
Using an old video code and changing the link worked properly but the code is different in every country.

The code given by TheLegoNoitAll don't work for me.I used a video code by another my lego creation and changed the link...now work!

Probably youtube have updated something and now mocpages don't recognize the new code!

For Italy this is a working code if you want:

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/*****?version=3&hl=it_IT"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/*****?version=3&hl=it_IT"; type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Obviusly change the ***** with your link ;)


I hope in a mocpages update :)

Permalink
| July 2, 2013, 5:45 pm
Okay, this is getting old. Admins, please give us the ability to embed youtube onto our pages...
Permalink
| July 7, 2013, 5:31 am
First, I can say without doubt that when YouTube make changes they roll out the changes at different times in different countries, so it's possible some of you may or may not be seeing the recent changes at the moment.

Secondly, not every country gets the same style of link.

For me, YouTube do appear to have made a change to the embed codes. And I'm talking about the "old embed" codes.

For me, the change is very simple. They've removed the "http:" from the links.

Before you got:
"http://www.youtube.com/v/...

Now I get:
"//www.youtube.com/v/...

Adding the http: before the // solves the problem.

It appears twice in the embed code, once as part of a <param> element and once as part of an <embed> element. The one on the <embed> element needs to be changed, the other doesn't although there's no harm modifiying both.

I can't paste the full code here because this message board can corrupt pasted html, but I've put an example page explaining what to do here:
http://equinoxe.byethost16.com/lego/mocpages/youtubefix.html
Permalink
| July 7, 2013, 6:36 am
Quoting Digital Dreams
First, I can say without doubt that when YouTube make changes they roll out the changes at different times in different countries, so it's possible some of you may or may not be seeing the recent changes at the moment.

Secondly, not every country gets the same style of link.

For me, YouTube do appear to have made a change to the embed codes. And I'm talking about the "old embed" codes.

For me, the change is very simple. They've removed the "http:" from the links.

Before you got:
"http://www.youtube.com/v/...

Now I get:
"//www.youtube.com/v/...

Adding the http: before the // solves the problem.

It appears twice in the embed code, once as part of a <param> element and once as part of an <embed> element. The one on the <embed> element needs to be changed, the other doesn't although there's no harm modifiying both.

I can't paste the full code here because this message board can corrupt pasted html, but I've put an example page explaining what to do here:
http://equinoxe.byethost16.com/lego/mocpages/youtubefix.html


Thanks for the help there! :D
Permalink
| July 8, 2013, 2:09 pm
Well, that helps me out a little. I was wondering why the old embed wasn't working...
Permalink
| July 8, 2013, 2:16 pm
I'm also having this issue. I have tried every suggestion in this thread and none of them have worked. Even copying and pasting a working link from one of my previous mocs and changing the video.
I'm in the UK if that makes any difference.
Any suggestions?
--Blast--
Permalink
| July 16, 2013, 8:22 am
Quoting --R.K. Blast--
I'm also having this issue. I have tried every suggestion in this thread and none of them have worked. Even copying and pasting a working link from one of my previous mocs and changing the video.
I'm in the UK if that makes any difference.
Any suggestions?
--Blast--

I'm in the UK too, so shouldn't matter.

I'd suggest you show us the code you are trying to use.

But DON'T paste it here, because this forum may alter it. Go to pastebin.com and paste it there, mark the paste as "Unlisted", select valid for a month, submit and then paste the link they give you here. I for one will take a look at it and see if I can see where it's going wrong for you.
Permalink
| July 16, 2013, 11:39 am
Alright. I've got the same problem. All the steps above haven't worked for me either and I keep getting either the applet or frame error.
Could somebody tell me where the pastebin is please?
Permalink
| July 17, 2013, 9:13 pm
Quoting Brick Munky
Alright. I've got the same problem. All the steps above haven't worked for me either and I keep getting either the applet or frame error.
Could somebody tell me where the pastebin is please?


You shouldn't get frame errors if you tick the "use old embed code" from YouTube.

pastebin.com is, surprise surprise, at http://pastebin.com/
Permalink
| July 18, 2013, 6:14 am
Quoting Digital Dreams

You shouldn't get frame errors if you tick the "use old embed code" from YouTube.

pastebin.com is, surprise surprise, at http://pastebin.com/

Thanks for telling me where the pastebin is!
Though I've already tried using the old embed code, and it didn't work :P

EDIT: I've tried everything, but they don't work... should I just post a link to youtube?
Permalink
| July 18, 2013, 1:46 pm
 Group admin 
Quoting Brick Munky
Though I've already tried using the old embed code, and it didn't work :P
EDIT: I've tried everything, but they don't work... should I just post a link to youtube?


Try it again.... I updated MOCpages to permit YouTube's new embed/iframe code. (Previously only the "old" embed code worked; now both should work.)
Permalink
| July 28, 2013, 1:29 am
Quoting Sean Kenney

Try it again.... I updated MOCpages to permit YouTube's new embed/iframe code. (Previously only the "old" embed code worked; now both should work.)

Worked! Thanks! You've done it again, Sean Kenney!
Permalink
| July 28, 2013, 2:46 am
Quoting Sean Kenney

Try it again.... I updated MOCpages to permit YouTube's new embed/iframe code. (Previously only the "old" embed code worked; now both should work.)


Sean, you've certainly added the ability to use the iframe version of the embed code, which is good.

But you haven't updated the "old embed code" filter to allow for the changes that have taken place recently at youtube, so the old embed codes still do not work and are greeted with the "Please do not put applets on your page." message.

My first post to this thread gave the solution. Allowing both forms of old embed code (with and without the http) would probably be the best fix.

http://www.mocpages.com/group_conversation.php?id=2600&topicid=90085#comment-1195173
Permalink
| July 28, 2013, 6:56 am
Quoting Sean Kenney

Try it again.... I updated MOCpages to permit YouTube's new embed/iframe code. (Previously only the "old" embed code worked; now both should work.)


Sean, please also note the manner in which you have now allowed iframes for youtube videos opens up the potential for people to embed iframes to any content they like, as demonstrated by this example MOC which iframe's to the wikipedia main page.

http://www.mocpages.com/moc.php/365925

The potential for mischief here I'm sure will alarm you into testing more thoroughly the source of the iframe.
Permalink
| July 28, 2013, 7:20 am
Other topics
MOCpages going slow? Updated Saturday
Report non-Lego thread 16 Updated Thursday
Help Please! Updated today
Heartbleed Updated today
student teen kid toy play lego child video game hobby blocks construction toy legos fun games



LEGO models my own creation MOCpages toys shop MOCpages help


You Your home page | LEGO creations | Favorite builders
Activity Activity | Comments | Creations
Explore Explore | Recent | Groups
MOCpages is an unofficial, fan-created website. LEGO® and the brick configuration are property of The LEGO Group, which does not sponsor, own, or endorse this site.
©2002-2014 Sean Kenney Design Inc | Privacy policy | Terms of use