Embedding a youtube video problem
i'm making a website in Edge Animate for a class project and am trying to embed a youtube video within it.
here is my code:
var youtubevid = $("<iframe/>");
sym.$("video12").append(youtubevid);
youtubevid.attr('type','text/html');
youtubevid.attr('width','540');
youtubevid.attr('height','315');
youtubevid.attr('src','http://www.youtube.com/embed/_JY4ZV_fumU?rel=0'); // url/Video_Id
youtubevid.attr('frameborder','1'); // 1 | 0
youtubevid.attr('allowfullscreen','0'); // 1 | 0
it's located within my stage, composition ready.
my understanding was first i needed to create a rectangle symbol the size of the video and that's where the video is embedded. on my page I see the video but it appears the symbol is over top
of the video so i can't play it.
Any ideas?
Thanks!
Solved! I followed your suggest publishing the project as a Scorm package in my site and I noticed that the video was just showed for a second and then it disappeared. So I checked the duration time of the slide, setting it as long as the video duration and... that's all: it works! Thank you very much.
Similar Messages
-
Embedding a YouTube Video utilizing HTML Insert Crashes Muse Repeatedly
Just today I have noticed when embedding a YouTube Video in Muse that it has begun crashing repeatedly. I cannot get the video to stay embedded to finish this project. Is there a bug or a work-around?
Thank you.Please try using YouTube embed code with the "Enable privacy-enhanced mode" option checked. It appears this crash is being triggered by recent changes in how YouTube's embed code works. At least early evidence indicates turning the "Enable privacy-enhanced mode" option on when creating the embed code appears to change the behavior of the embed code enough to avoid triggering this crash within Muse.
If you do try this, please report back to let us know whether or not setting this option enables you to avoid this crash. Thanks. -
Embedding a youtube video in Powerpoint 2010 via a shockwave flash object
We have a user, has found recently, when he adds a 'shockwave flash object'
in Microsoft PowerPoint 2010, and adds a YouTube link, next to the
"movie" field within the properties of the shockwave flash object, it
will not show the YouTube video window (with the play button etc.) and will not
play the video.
The user thinks the current version of Adobe flash is causing this (version:
14.0.0.145) and would be grateful if any staff from Adobe or anyone else has any
ideas if this version does cause this problem and if there is a way to resolve
it, or if a new release of Adobe Flash player will address this and if so when
it will be released.
Thanks,
JamesPlease ask your question on a forum for the Flash Player
-
Youtube videos problem (volume slider + full screen)
Hi!
I just bought a new laptop, and I'm trying to watch Youtube videos. I installed the latest version of Flash, and the videos at the default size play fine. However I cannot adjust the volume slider. I put my mouse over the icon and it shows the slider, but when I click to change the volume, the slider bugs out and slowly closes back to hide the slider, showing just the sound icon.
Then another bug is when I click to view the video full screen, the playback options at the bottom (play, pause, volume, etc) are hidden behind my Windows taskbar! Sometimes the video bugs out as well when I go to full screen, showing only one frame and it's all pixelated/torn.
This does not happen using Internet Explorer, the volume and full screen work fine there.
Any idea what's going on? I'm using the newest version of Firefox and Flash. (64 bit)
Any help would be appreciated. Thanks!Hi,
You can try disabling Flash Player hardware acceleration: right-click on a video and deselect '''Enable hardware acceleration'''. If the problem persists, you can also try disabling Firefox acceleration via Firefox '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]
[https://support.mozilla.org/en-US/kb/Options%20window Options] -
hey guys,
need the code to embed a few youtube videos and attaching pdf
file.
thanks a tonHi Little Helper
Perhaps you could provide more detail? What exactly do you
mean by "not working"?
* Does the player window not appear in the topic?
* Does the player window appear, but the video doesn't play?
* Does the topic cause an error when it is displayed?
We need more information before we will be able to help.
Colum, I believe the code presented is the way YouTube
suggests embedding a video on a web page so that you don't have to
navigate away from the page to watch the video. There is more at
this link.
Cheers... Rick -
Nokia 5800 youtube video problem
hi, when i i go to watch youtube videos on my phone the video will start playing for a few seconds and then the video and audio will stop but the time will continue going. and the only way i can watch the video properly is by restarting it. but whin i rewind it, it will go back quckly and then pick up were it stopped. how do i fix this? thanks
the same is here with version 3.0.0.11 , please help me guys
-
Embedding a Youtube video link
Hi to all. I am trying to embed a Youtube video link into my
project. It is not working...any suggestions???? I am using
RoboHelp 6Duplicate post. Click
here
for the other thread. -
Embedding clipped Youtube video into Keynote on iPad?
Is it possible to embed a clipped youtube video into a keynote presentation on the ipad? I know how to do it in Powerpoint, but that doesn't help me as I don't have powerpoint at home and am having to rely on trying to do it with Keynote on my ipad.
Thanks!Two possibilities I can think of. MAke sure that the side button on your ipad is set to screen lock & not mute. If it is set to mute, you'll need to slide it to unmute it before the speaker will work. Otherwise, it sounds like some kind of software glitch. I'd do a reset (I think you hold down the power button & the button on the top for like 10 seconds, until you get the screen asking if you want to turn your ipad off. Follow through, give it a few seconds, then restart it.
-
Can I resize snippet embedding a YouTube video?
Everytime I embed a YouTube video into my site, it shows the video in a standard size window. I was wondering if it was possible to resize that window to make it smaller.
Thank you!Change the width and height in the code you copy/paste from youtube.
Make sure the numbers are changed proportionally. -
Hello. I've got a problem with my BB 9300 curve 3G. Sometimes when I watch a video on youtube, the video just skips scenes and after skipping 10-15 seconds it buffers and after that it starts again. I tried clearing history and cookies but it didn't solve the problem. It is really annoying. Hope someone knows what I am talking about and will find a solution.
Hi,
You can try disabling Flash Player hardware acceleration: right-click on a video and deselect '''Enable hardware acceleration'''. If the problem persists, you can also try disabling Firefox acceleration via Firefox '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]
[https://support.mozilla.org/en-US/kb/Options%20window Options] -
The only way I can watch a video of any kind is to constantly move the mouse and if I don't the video stops and eventually the flash player will crash. Why?
To help troubleshoot we'll need the following system information:
Operating system
Browser
Flash Player version
When reporting issues with video or audio, it's also helpful to get your system hardware and driver details. Instructions for finding this can be found here:
Windows
Mac
Finally, sometimes these problems are caused at a lower level and not directly related to Flash Player. I recommend trying both of the links below to see how they perform. If the problem exists with both, then Flash Player is most likely not the culprit as the HTML5 video link does not use Flash Player when playing. You can verify this by right clicking the HTML5 video and looking for the words "About HTML5" at the bottom of the menu.
HTML5 video
Non-HTML5 video -
I have Mac OS X 10.8.2, when I watch videos on safari, firefox or chrome it stops after couple of seconds. When I refresh the windows then it starts again and then it doesn't stop. But when I see the same videos in my other windows based laptop it doesn't stop and runs smoothly. I have notices this problem started once I upgrade my system from Snow Leopard to Lion to Mountain Lion. Please help.
You must have a BlackBerry data plan.
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you! -
Embedding youtube video in flash with as2 - problem with black bars
I have successfully embedded the youtube video in my flash code with:
//create area to put youtube video on screen
this.createEmptyMovieClip("reason1_video", 10000);
reason1_video._xscale = 60;
reason1_video._yscale = 60;
this.reason1_video.loadMovie("http://www.youtube.com/v/PUt7Kw9Q_Qc?hd=1");
However, the video plays with black bars on top and bottom even though it plays without those directly from youtube:
http://www.youtube.com/parallelic#p/c/258EA3637F3467BD/7/PUt7Kw9Q_Qc
Even if I take off the scaling, it still has the black bars. How do I get rid of them?So basicly your putting a video in to your flash project
-
Embedded Youtube videos not working in Chrome or Firefox?
I have embedded some YouTube videos into Lightbox widgets and they play fine on IE and Safari but not on Chrome or Firefox. The poster of video shows but you can't click on it. Didn't know if Java Script was required but have it enabled on all Browsers.
Hello,
Could you please provide us a link where we can check the issue.
You can also try Right clicking on the added HTML code>Arrange>Bring to Front and see if it resolves your issue.
Regards,
Sachin -
After embedding youtube video, my audio players disapeared
Hi,
I embedded a youtube video (by editing the text file after exporting the iweb page to my desktop) on a page that also had audio players on it, and now the audio players don't show up. I tried repeating the process, with the hopes that something just got lost in translation, but no luck. Any help would be greatly appreciated!
SimonThanks Christopher,
I was thinking about it, meanwhile I'm still trying to do it the way I suggested. I'm able to embed the clip but just not in the right place, just don't know where to paste the code, I thought perhaps there is a command in ActionScript to sort this out
Cheers
Maybe you are looking for
-
My iPod classic will freeze during sync.
I have an 80gb ipod classic. Im using itunes on my imac and when i got to sync the ipod it starts then it freezes. takes forever to load songs.. Mind you i have over 4,000 songs im trying to download... I still think it should sync a little faster.
-
After I purchased the creative cloud, I receive an error message when trying to use premier pro cc 2014. It states "Adobe Premiere Pro 2014.2 has stopped working. A problem has caused it to stop working. Windows will close the program and notify y
-
Thunderbolt ports no longer working
My iMac 27" running Mountain Lion Thunderbolt ports are no longer working out of no where. I leave on a Friday, come back into the office on Monday and my second display, my Black Magic Monitor Card, all of my Thunderbolt drives no longer work with t
-
Video problem with Ti4200-128mb-AGP8x
Here is my system; Asus p4p800 MB / integrated sound Intel p4 2.4ghz 800mhz FSB MSI GF4 Ti4200 128mb AGP8x Maxtor 30gb HDD LG 52x CD-rom Windows XP corp. IRQ's are all OK Power supply is 420watts nvidia video drivers 44.03(latest) I have video flicke
-
Trying to erase and reinstall Lion without Apple ID
A while back I bought a MacBook Pro from a friend. It came with a Lion Installation Disk. I've tried erasing the harddrive, and reinstalling Lion, but now im being prompted to enter the Apple ID that purchased Lion. Since my friend bought the compute