The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Small YouTube Player Embed Code

4 posters

Go down

Small YouTube Player Embed Code Empty Small YouTube Player Embed Code

Post by Chellizard September 28th 2017, 1:05 am

Hi there guys!!

Today I have made for you a code to use a very small player on forumotion forums!

The code is listed below!

Code:
<div style="position:relative;width:290px;height:28px;overflow:hidden;">
  <div style="position:absolute;top:-300px;left:-4px">
    <iframe width="300" height="300" src="https://www.youtube.com/embed/YOUTUBE_ID?autoplay=1">
    </iframe>
  </div>
</div>

In order to use this code, you must replace "YOUTUBE_ID" with the video ID tag that you can find on the end of URL's

EXAMPLE:

Small YouTube Player Embed Code ChibifUaSzO7XzX-e_SkwQ


Here is what it appears as on the forum:
Small YouTube Player Embed Code NRc_IxZeQjqaqKUR3UE7xQ

And what it looks like if you hover over it:
Small YouTube Player Embed Code E1UvZyzDQDmZ97GAGeOosQ

You can put virtually any song you want to listen to in the tag!

You can also take away part of the code so that it does not autoplay!

All you have to remove is this part of the code:

Code:
?autoplay=1


(:

Have a good day.
Chellizard
Chellizard
Forumember

Female Posts : 154
Reputation : 12
Language : English

http://superhero-rpg.com

Back to top Go down

Small YouTube Player Embed Code Empty Re: Small YouTube Player Embed Code

Post by SLGray September 28th 2017, 2:53 am

The hover over it is not working for me.


Small YouTube Player Embed Code Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Small YouTube Player Embed Code Empty Re: Small YouTube Player Embed Code

Post by Chellizard September 28th 2017, 4:42 am

SLGray wrote:The hover over it is not working for me.

Hmm... I am not a code expert. Just kind of worked with what little I know. Maybe someone can help you figure it out?
Chellizard
Chellizard
Forumember

Female Posts : 154
Reputation : 12
Language : English

http://superhero-rpg.com

Back to top Go down

Small YouTube Player Embed Code Empty Re: Small YouTube Player Embed Code

Post by TheCrow September 28th 2017, 9:16 am

SLGray wrote:The hover over it is not working for me.
Which hover over is not working @SLGray?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6898
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Small YouTube Player Embed Code Empty Re: Small YouTube Player Embed Code

Post by SLGray September 28th 2017, 4:58 pm

Small YouTube Player Embed Code E1UvZyzDQDmZ97GAGeOosQ


Small YouTube Player Embed Code Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Small YouTube Player Embed Code Empty Re: Small YouTube Player Embed Code

Post by YoshiGM October 7th 2017, 10:46 pm

As @SLGray, your code don't worked for me! But i found a generator for embbeding a Youtube
http://www.vtubetools.com/ (Forgive me if this is spam)

You can go here, paste your video url and edit the settings of the player Wink
Once you have configured all of your player, just click on Generate code or you can see a preview of how it will see appear!

Then copy "iframe" code and you done.
YoshiGM
YoshiGM
Active Poster

Male Posts : 1492
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum