embedding ooyala video without flashvars not working in firefox - html

I am trying to embed a ooyala video on a web page using the emebed tag. By just giving the src it works fine in chrome and surprisingly in IE, but if fails in FF.
<embed src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&version=2" type="application/x-shockwave-flash"
/>
for firefox I additionaly need to provide a flashvars property in the embed tag or else it gets stuck on 'loading'.
<embed src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&version=2" type="application/x-shockwave-flash" flashvars="&embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&videoPcode=FiYm06Tu_hQLSGqTeVTwSS1L4vV7"
/>
Here is the fiddle demonstrating the issue. Open it in ff and you will see the second video forever stuck on loading while both the video play fine in chrome and IE.

You can use <iframe></iframe>
<iframe id="Iframe" width="640" height="360" src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&version=2" frameborder="0"></iframe>
it supports all browser

Related

youtube embed video not working with safari

I have a simple page with this HTML code :
<iframe width="100%" height="480" src="https://www.youtube.com/embed/5FSsednibXQ?controls=0&showinfo=0" frameborder="0" allowfullscreen=""></iframe>
It is working fine in chrome but not in safari. I only have the black box with safari.
Any idea ? What is the correct way to embed a youtube video in safari ?
Try using this:
<object>
<param name="movie" value="http://www.youtube.com/v/[VIDEO_ID]"></param>
<embed src="http://www.youtube.com/v/[VIDEO_ID]" type="application/x-shockwave-flash"></embed>
</object>
It's explained here:
Making youtube.com/embed URLs work on iOS

Video not showing in iframe on IE, but showing on firefox and chrome

The src of iframe is a URL to a video. Every time when the page is loaded, it asked me whether to save or open the video. But the video show well on firefox and chrome. When the URL points to video on youtube, it works too. Anyone has the same problem? My IE is 11. But it should work on most IE versions.
<iframe width="550" height="400" src="http://techslides.com/demos/sample-videos/small.mp4" frameborder="0"></iframe>

How to stop embedded videos on my website from autoplaying

embed src="clip2.mp4" width="600" height="400" scale="aspect" controller="true"
This is the code I have used to display the video onto my website, but does anybody know how to stop the video from automatically playing once the website has loaded?
you need to add these two attributes to the <embed>
autoplay="false"
autostart="false"
Some browsers wont recognize true or false. In such situations try,
autoplay="0"
autostart="0"

Embedding YouTube videos on Internet Explorer

I have embedded a YouTube clip on a webpage:
<div class="col-md-8">
<iframe id="theframe" width="400" height="325" src="http://www.youtube.com/embed/MYYOUTUBECLIP" frameborder="0" allowfullscreen class=""></iframe>
This works fine in Chrome and FireFox and displays as an embedded video in the webpage. However, if viewed on Internet Explorer (10 or 11) then when the user tries to view that page the browser redirects to youtube and then fails to load.
What is going on here? Many thanks...
The Best Possible answer can be, If you have ever noticed To play YouTube videos we need a plash player, and if you ever download flash player from sites like filehippo you will see that there are two version of it
1st, IE
2nd Non-IE.
The clients may be missing IE version of flash player.
try installing IE flash player and try again. Good Luck.
Try this code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/embed/MYYOUTUBECLIP" width="400" height="325">
<param name="movie" value="http://www.youtube.com/embed/MYYOUTUBECLIP" />
</object>
Ok. So the actual answer to my problem is that on some of the embedded links they were:
<iframe id="theframe" width="400" height="325" src="http://www.youtube.com/embed/MYYOUTUBECLIP" frameborder="0" allowfullscreen class=""></iframe>
while some were:
<iframe id="theframe" width="400" height="325" src="http:////www.youtube.com/embed/MYYOUTUBECLIP" frameborder="0" allowfullscreen class=""></iframe>
Notice the difference? The second one has "http:////www..." which is two too many '/'. It appears that Internet Explorers don't like this so try and send you off to the url. One of those quirky things, eh...

My youtube embed code doesn't work on html website

<center>
<iframe width="420" height="315" src="//www.youtube.com/embed/BrI7VRfqgo4" frameborder="0" allowfullscreen></iframe>
I know its been posted around, but nothing's been working for me at the moment. I have HTML website and trying to put the html video youtube embed code, but its not working for me.
My site is online, very simple html.. And it has http in the video embed code as well..
I tried a lot, but cant get it working in any way.
Regards
You have to enable embedding first before the embed code will work from other websites.
Log in to https://www.youtube.com/my_videos?o=U
Click Edit on the video you want to embed
Click on Advanced Settings in the tab below
Click Allow Embedding to enable it under the Distribution options section.
Click Save Changes to save the new configuration.
Now your embed link is ready to be embedded on other websites!
<p align="left">
<object height="385" width="640">
<embed src="http://www.youtube.com/v/LsEU_93SC4c&rel=0?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="640">
</object>
</p>
Change the third line to your video number/name.
I don'tknow it it can be of any help.
I needed just the audio, so I changed height to "0" and width to"0" and it works on IE and Firefox.
It doesn't work with Chrome and Opera.
Here the simple link.
Just insert it as it is. I inserted it at the bottom of the page before
or go to my age and see if how it works:
https://www.carniaexpress.com/friuli-per-gruppi/raduno-alpini-triveneto-tolmezzo
If you wish to see the video just change height and width...