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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With