I'm trying to find tge actual typed in code to imbed a video, also the code to display code so it doesn't execute.
Alledgedly there is a
Hive-e prefix tho I couldn't get it to work.
Somebody (i apologise, right now can't remember who) did an excellent job of the code, but I failed to figure it, and the hive -e or whatever works would sure make that easier. :-)
Oh, I see.
Hive's editor prefix is a mix of both HTML and markdown, with some tags bypassed for security purposes, but the one you're looking for is
<iframe>
, and it is supported, if and only if the site inside the frame allows CORS.Anyhow, most of the popular streaming platforms has their own little widget (a snippet) to share/embed in external sites instead of a direct-link, YouTube offers a customization for the embedded player as well with realtime code update.
If this ^ is not related to your question, please explain what you're exactly trying to achieve.
Yes, many thanks, this is what i'm trying to do.
Thanks, So,... If the site with the video offers the, (preferably) iframe code use that?
also i think i could 'nick' the code there and use it for others.
In this case a video i've downloaded, would that same code work for an uploaded video?
I suppose i'm thinking (cos i'm awkward!) to have a snippet of code that i can store and adjust it for an uploaded video.
Oh eck! looking at the API embed legal stuff on youtube, (this ones youtube, boooo!) theres a lot of legal stuff there.
I don't want to do anything wrong for hive, what's your opinion?
Scusa, I seem to have missed that.
Probably not a good idea, since each platform has their own attributes and variables nested inside the provided snippet, also, like I mentioned;
<iframe>
will only work if the external site allows CORS.No, that's not inline-frames work, basically, an iframe is like a small container of an external webpage, or a part/element of that webpage, it's not stored on the host site, on the other hand, directly uploaded content are, so to answer your question, you don't need any code for that, once your video is uploaded it will render as part of the platform you're using, not inside a frame, hope that makes sense.
I'm not sure what you mean here, what about the Api? Expand, please?
Many thanks, was somebody else that said i should embed, i'm ok with just a link, given what you've said, i think all is well if i simply add the link and let whatever front end it appears on to do what it wants.
if i add a load of code, then like you say, that might simply make a mess.
otherwise i'm happy simply puting in a link, i'm also quite happy to add the bits. as a guess any front end will be also happy with that.
So i guess in the end everything is fine as it is,
the API bit, it was suggested to have where video came from, in this case youtube, but the same pops up everywhere anyway. and i went to get there 'embed' code. and it came up with a ton of 'by using this you agree's', etc.
So i panicked, ran around the place waving my hands frantically in the air and thought 'ok, maybe not'.
Couldn't find the edit, (I'm a failure!) I have searched and found some code, but couldn't get them to work.