AVideo
AVideo copied to clipboard
AVideo API - Oembed
Does AVideo have an API or oembed mechanism to facilitate grabbing information for a video to store locally in another application? That would include the video cover image. Just like YouTube, Vimeo, Twitch, Dailomotion etc. where only the URL is necessary on a social media post. This way you get a YouTube quality post on social media with an AVideo URL...https://avideo.site.com/v/10 as example would be no different than posting this: https://youtu.be/E_eCOG8vQYg
Thank you...
Check this https://github.com/WWBN/AVideo/wiki/AVideo-Platform-API
Thanks for link. Did not see anything related to getting embed information based on video url. Was thinking more in line with what YouTube gives you...example below:
curl 'https://www.youtube.com/oembed?format=json&url=https://www.youtube.com/watch?v=uXBDgLglFig'
with YouTube returning this:
{"title":"BUILDING A DIY BASS GUITAR SYNTHESIZER WITH A SID CHIP","author_name":"LOOK MUM NO COMPUTER","author_url":"https://www.youtube.com/c/LOOKMUMNOCOMPUTER","type":"video","height":113,"width":200,"version":"1.0","provider_name":"YouTube","provider_url":"https://www.youtube.com/","thumbnail_height":360,"thumbnail_width":480,"thumbnail_url":"https://i.ytimg.com/vi/uXBDgLglFig/hqdefault.jpg","html":"\u003ciframe width=\u0022200\u0022 height=\u0022113\u0022 src=\u0022https://www.youtube.com/embed/uXBDgLglFig?feature=oembed\u0022 frameborder=\u00220\u0022 allow=\u0022accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\u0022 allowfullscreen title=\u0022BUILDING A DIY BASS GUITAR SYNTHESIZER WITH A SID CHIP\u0022\u003e\u003c/iframe\u003e"}
What about this?
https://demoavideocom.cdn.ypt.me/oembed/?format=json&url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55
https://demoavideocom.cdn.ypt.me/oembed/?format=xml&url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55
<link href="https://demoavideocom.cdn.ypt.me/oembed/?format=json&url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55" rel="alternate" type="application/json+oembed" />
<link href="https://demoavideocom.cdn.ypt.me/oembed/?format=xml&url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55" rel="alternate" type="application/xml+oembed" />
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Having issues embedding AVideo videos in WordPress.
Your elements looks like this:
Shouldn't ombed look like this (per specification at oembed.com - Discovery:
- Discovery
oEmbed providers can choose to make their oEmbed support discoverable by adding elements to the head of their existing (X)HTML documents or by setting Link headers.
Your same elements per their documentation:
Tried curl using your format:
https://demoavideocom.cdn.ypt.me/oembed/?format=json&url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55
and got nothing, below is modified version that did give back
curl https://demo.avideo.com/oembed/?url=https%3A%2F%2Fdemo.avideo.com%2Fview%2F%3Fv%3D55&format=json
You have
Many thanks again for all...
I am not sure what is the issue you are referring to