Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a embeded code for video

I am using embedly, it is working properly but the problem is for some video it gives error- not a valid key.I know we have to register on their site and pay some money for key but, I dont want to do that.Is there any other solution to get embed code for a video so that I can put on my code other than embedly.If yes please help me on this or if possible please provide some example to do this .The code for a key is given below.

$pro = new Embedly_API(array(
    'key' => 'xxxxxxxxxxxxxxxx', //need a pro key for this
    'user_agent' => 'Mozilla/5.0 (compatible; mytestapp/1.0)'
));

Thanks in advance.

like image 238
Rakesh Shetty Avatar asked Sep 01 '12 10:09

Rakesh Shetty


People also ask

How do I embed a video without an embed code?

Embed videos by copy-pasting URL For many popular video hosting platforms, including Vimeo, YouTube, and Animoto, you don't need the full embed code. Simply copy-pasting the URL of the video into the Visual editor will automatically embed the video for you.

What is the HTML code for embedding video?

HTML allows playing video in the web browser by using <video> tag. To embed the video in the webpage, we use src element for mentioning the file address and width and height attributes are used to define its size. Example: In this example, we are using <video> tag to add video into the web page.


1 Answers

You don't need to pay any money for light usage.

You should try scrolling down on the pricing page: http://embed.ly/pricing

Then select the free option.

like image 102
froddd Avatar answered Sep 28 '22 16:09

froddd