• When posting, please be aware that artistic nudity is still nudity and not allowed under RpNation rules. Please edit your pictures accordingly!

    Remember to credit artists when using work not your own.

Help Music In Posts

d1uni5ys24si3o

One Thousand Club
Hello!
I would like to know if it is possible to have only a play button of some sort with youtube music playing? I don't want the whole video posted, just the soundtrack.
 
I think it should be possible, yes (e.g. by embedding a piece of media, through YouTube or Google Drive, and then covering it up with positioned divs on top), but I'm not sure I would recommend it. If the media's UI ever changes (and YT does this all the time), it'll break the layout. Also, I like being able to control at least the volume and pause it.

That being said, I haven't tried experimenting with media too much, so I'm not sure how much is achievable.
 
D d1uni5ys24si3o , From a little experiment I just did in my workshop, it is 100% possible. You don't even need to layer a div on top if all you want is the play button. You'd simply put the video in a div and then adjust the height and width to fit only to play button. But like Lyro Lyro mentioned, you can't change the volume, and it is also against Youtube ToS if you hide the content of a video.
 
I think it should be possible, yes (e.g. by embedding a piece of media, through YouTube or Google Drive, and then covering it up with positioned divs on top), but I'm not sure I would recommend it. If the media's UI ever changes (and YT does this all the time), it'll break the layout. Also, I like being able to control at least the volume and pause it.

That being said, I haven't tried experimenting with media too much, so I'm not sure how much is achievable.
D d1uni5ys24si3o , From a little experiment I just did in my workshop, it is 100% possible. You don't even need to layer a div on top if all you want is the play button. You'd simply put the video in a div and then adjust the height and width to fix only to play button. But like Lyro Lyro mentioned, you can't change the volume, and it is also against Youtube ToS if you hide the content of a video.
Thank you so much for your response :) could I have the code thoughtless thoughtless or simply a tag on where I could retrieve the code?
 
It's better to use google drive for this purpose, such as how i used it in this post.
https://www.rpnation.com/threads/ ××-lovewords-「♡workshop」.318869/page-3#post-7778898

With only the music code
Code:
 [div=width: 37px; overflow: hidden;][div=width: 300px; height: 30px; overflow: hidden;][div=margin-top: -335px; margin-left: -15px;][gdoc]0B6Egn5FBkc6dS1lVYjFRN2JzaGc[/gdoc][/div][/div][/div]
If you want the volume + play length, simply expand the width of the first div
 
Last edited:

Users who are viewing this thread

Back
Top