Embedding Youtube videos

Report your InsectNet technical issues here or ask a technical question.
Post Reply
User avatar
Cabintom
Meek
Meek
Reactions:
Posts: 257
Joined: Sat Jun 04, 2022 1:54 pm
Location: D.R.Congo
Canada

Embedding Youtube videos

Post by Cabintom »

Can we get the ability to embed youtube videos into posts? It's a shame we have to send people off site to view videos.

The same can be said for sound clips. Can there be a way to insert sound clips like we do images?
eurytides
Meek
Meek
Reactions:
Posts: 196
Joined: Tue May 24, 2022 1:36 am
Canada

Re: Embedding Youtube videos

Post by eurytides »

You can copy and paste youtube links just like links to imgur.
User avatar
adamcotton
Global Moderators
Global Moderators
Reactions:
Posts: 743
Joined: Tue Mar 22, 2022 12:24 pm
Location: Thailand
Thailand

Re: Embedding Youtube videos

Post by adamcotton »

Hopefully someone (Olivier?) can explain the correct bbCode for audio and video links. To display an online photo (imgur or elsewhere that allows public sharing) the URL should have img in [] in front and /img in [] at the end of it. I don't know the correct formatting for audio or video links.

Adam.
eurytides
Meek
Meek
Reactions:
Posts: 196
Joined: Tue May 24, 2022 1:36 am
Canada

Re: Embedding Youtube videos

Post by eurytides »

eurytides
Meek
Meek
Reactions:
Posts: 196
Joined: Tue May 24, 2022 1:36 am
Canada

Re: Embedding Youtube videos

Post by eurytides »

Not sure what you mean by formatting. It’s just copy and paste the URL. I randomly found a butterfly video and clicked on share, copied the URL, and pasted. The above link works.
User avatar
adamcotton
Global Moderators
Global Moderators
Reactions:
Posts: 743
Joined: Tue Mar 22, 2022 12:24 pm
Location: Thailand
Thailand

Re: Embedding Youtube videos

Post by adamcotton »

A search suggests that the correct code is the word video in [] and /video in [] after the URL.

Here's a test using the link above:

[video]https://youtu.be/el_lPd2oFV4[/video]

Adam.
User avatar
adamcotton
Global Moderators
Global Moderators
Reactions:
Posts: 743
Joined: Tue Mar 22, 2022 12:24 pm
Location: Thailand
Thailand

Re: Embedding Youtube videos

Post by adamcotton »

hmmm ... that didn't seem to work.

Adam.
User avatar
adamcotton
Global Moderators
Global Moderators
Reactions:
Posts: 743
Joined: Tue Mar 22, 2022 12:24 pm
Location: Thailand
Thailand

Re: Embedding Youtube videos

Post by adamcotton »

eurytides wrote: Sun Sep 25, 2022 7:57 pm Not sure what you mean by formatting. It’s just copy and paste the URL. I randomly found a butterfly video and clicked on share, copied the URL, and pasted. The above link works.
Yes, it works but it opens a separate youtube page. Cabintom wants the video to be playable inside the forum page.

I guess Olivier can tell us how to do it.

Adam.
eurytides
Meek
Meek
Reactions:
Posts: 196
Joined: Tue May 24, 2022 1:36 am
Canada

Re: Embedding Youtube videos

Post by eurytides »

Ah I see, thanks Adam, I didn’t understand what Tom was trying to accomplish.
User avatar
Cabintom
Meek
Meek
Reactions:
Posts: 257
Joined: Sat Jun 04, 2022 1:54 pm
Location: D.R.Congo
Canada

Re: Embedding Youtube videos

Post by Cabintom »

Pasting URLs is fine, but it sends people off site and there's no preview (meaning the link could be to anything on youtube). I want to embed the video. As far as I can tell, Olivier needs to enable the BBcode for video embedding to work.
User avatar
wollastoni
Site Admin
Site Admin
Reactions:
Posts: 442
Joined: Fri Mar 18, 2022 9:51 am
Location: France
France

Re: Embedding Youtube videos

Post by wollastoni »

Good idea, Thomas
I have coded it, you can now embed videos : just copy/paste the url of the video in your post and the video will be embeded. You don't even need to use the [media] tags.

One example, pasting the url :
User avatar
Cabintom
Meek
Meek
Reactions:
Posts: 257
Joined: Sat Jun 04, 2022 1:54 pm
Location: D.R.Congo
Canada

Re: Embedding Youtube videos

Post by Cabintom »

wollastoni wrote: Mon Sep 26, 2022 1:18 pm Good idea, Thomas
I have coded it, you can now embed videos : just copy/paste the url of the video in your post and the video will be embeded. You don't even need to use the [media] tags.
Amazing! Does this work for sound clips too?
User avatar
wollastoni
Site Admin
Site Admin
Reactions:
Posts: 442
Joined: Fri Mar 18, 2022 9:51 am
Location: France
France

Re: Embedding Youtube videos

Post by wollastoni »

If embeded on youtube or another popular hub, yes.

If it is a file on your computer, you should be able to attach it as you attach pictures. (but it has to be below 800 KiB).
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in