HOME | DD

Fli-c — Compact embedded player [v4]
Published: 2012-03-19 17:30:07 +0000 UTC; Views: 25732; Favourites: 378; Downloads: 0
Redirect to original
Description body div#devskin0 hr { }

Tutorial has been updated three times
Changelog in the description

A quick guide to embedding of compact video players

The "compact" I mean player that embedded only for music (in case when you don't care about video or don't want it to take too much space in your custom box or journal).
Here's an example:


Default embedded youtube player ():
[text valign] [text valign]


And compact version (see the code below):
[text valign]

[text valign]


How it works:


   
   


Actual code:



Copypastable code:



Explanation:

External div classes -
   .pagination → display: inline-block;
   .f → vertical-align: top;
   .sitback-container → overflow: hidden; + padding-bottom: some;
   .talk-post → padding-bottom: none;
   .popup2-clear → remove trash

Internal div classes -
   .sitback-container > .sitback-slide → position: absolute;
   .flex-bottom → bottom: 0;
   .popup2-clear → remove trash

Image -
   It seems that iframe width of 544 pixels is the minimum for automatic selection of "360p" video (and audio) quality.
   And since this spacer pic will be visible if Flash player is disabled, then it's would be nice to write something on it :)
   You can use this picture, draw you own, or generate solid color spacer by using sh.deviantart.net api

That's it

Related content
Comments: 125

cresun7 [2015-01-27 21:38:33 +0000 UTC]

Thanks for sharing this.

👍: 0 ⏩: 0

Matsuoka-Rin-FREE [2014-11-29 19:55:47 +0000 UTC]

It worked! Thanks!

👍: 0 ⏩: 0

nightfallartsvoid [2014-11-05 03:41:33 +0000 UTC]

im so confused ;-;

👍: 0 ⏩: 0

KGN005 [2014-09-29 02:55:41 +0000 UTC]

what about the smaller ones?

👍: 0 ⏩: 0

SUCK0NIT [2014-07-10 18:46:11 +0000 UTC]




KEN


ASHCORP<33333333333333333333333

👍: 0 ⏩: 0

xLolitaRain [2014-05-31 07:06:56 +0000 UTC]

I can't find the code for compact version - @

👍: 0 ⏩: 0

MerryBberry [2014-04-25 22:23:24 +0000 UTC]

Does this only work for premium members? I can't seem to get the compact version to work D:

👍: 0 ⏩: 0

DragonPud [2014-04-12 00:36:58 +0000 UTC]

I'm currently looking for non compact video, How would I alter this code for that?

👍: 0 ⏩: 0

Linthium [2014-04-05 09:45:57 +0000 UTC]

i lovE YOU

👍: 0 ⏩: 0

PiggyGotSwag [2014-04-01 21:08:38 +0000 UTC]

Does this work on profiles? 

👍: 0 ⏩: 1

xCreativityx In reply to PiggyGotSwag [2017-05-12 21:18:14 +0000 UTC]

Yes

👍: 0 ⏩: 0

Midnightwaterlilly [2014-02-08 02:26:24 +0000 UTC]

THANK YOU SO MUCH!

👍: 0 ⏩: 0

DragaFlammis [2014-01-21 04:12:32 +0000 UTC]

Ah, I was looking for something like this. Thank you! :'D

👍: 0 ⏩: 0

ChipotleSauce [2013-09-26 02:34:39 +0000 UTC]

there is no code for the compact version. 

👍: 0 ⏩: 0

Purpuritaa [2013-09-11 00:24:44 +0000 UTC]

I do not understand D: Can you give me the code? Because I do not understand English well but I'm talking like, but many words make me dizzy! If? please and thank you could give me a note?

👍: 0 ⏩: 0

Galejro [2013-06-23 15:55:44 +0000 UTC]

Is there a way to make this device automatically launch the video after the page loaded?

👍: 0 ⏩: 1

Steelsoldat In reply to Galejro [2013-07-24 04:24:11 +0000 UTC]

i'm going to check this out

👍: 0 ⏩: 0

per-ankh [2013-06-16 04:40:37 +0000 UTC]

Thank you, mademoiselle!

👍: 0 ⏩: 0

XGreenTeaPrinceX [2013-06-12 19:59:31 +0000 UTC]

Cool thanks

👍: 0 ⏩: 0

A-Broken-Flower [2013-05-31 07:18:22 +0000 UTC]

Thank you So very much!~

👍: 0 ⏩: 0

V-a-n-e-l-l-o-p-e [2013-03-13 16:22:33 +0000 UTC]

Thanks so much!
Using!~

👍: 0 ⏩: 0

XenonInhaler [2013-03-11 03:35:39 +0000 UTC]

So apparently I can't put 3 different song in? :/ the first one works, but the other two say "please enable flash player yadayada"

👍: 0 ⏩: 1

Steelsoldat In reply to XenonInhaler [2013-07-24 04:24:52 +0000 UTC]

you might have to change the div names

👍: 0 ⏩: 0

KaseyKLCx3 [2013-02-26 09:19:07 +0000 UTC]

Thank you so much! You're awesome! I used this in my my most recent journal entry and I was so excited when it actually worked!

For those of you who don't understand how to use this code, I'll explain it to you!

Okay, so take a look at the code. Located in the code, it says "profile="youtube" id=".

After the "=" is where you enter which Youtube video you want to use!
But hold on. In a Youtube URL, you only copy and paste the code after the "watch?v=" part of the URL.

So say I wanted to use this Youtube video -> "[link] " I would only use "pSTYgeor9k8" for the code!
Now you should be able to play music in your Journal entries!

Hope I helped! ◠‿◠

- Kasey

👍: 0 ⏩: 2

badbabydoll In reply to KaseyKLCx3 [2013-06-01 08:20:43 +0000 UTC]

um i still don't really get it...
could you please send me the code for this song? [link]
please?

👍: 0 ⏩: 0

DragonPud In reply to KaseyKLCx3 [2013-02-27 22:06:56 +0000 UTC]

ok... it says Please enable flash player... i just looked and it says it's enabled I didn't get the static last time and it doesn't seem to be a small player bar. i don't need the video

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-02-28 07:45:18 +0000 UTC]

Hmmm... You may need to wait for the Flash player to load if that's the case. I suggest you consider other options if this isn't working for you. That, or just don't play any music on your page.

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-02-28 08:20:41 +0000 UTC]

surrenduring is about how i feel at this point. It's not loading at all :{ the thing is, the one on your journal works for me... but not my own page....

could you note me the full code or something? all i want is this [link] music

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-02-28 09:28:55 +0000 UTC]

Here you go:










Took me a while to figure out how to convert the specific Youtube video you requested. But alas, I made a code that works for your journal!

Just remove the spaces between the "http" part of the code!

Hope it's to your liking! If you need any more help, just ask!

Also, feel free to add me as a friend!


- Kasey

👍: 0 ⏩: 2

DragonPud In reply to KaseyKLCx3 [2013-03-01 00:52:07 +0000 UTC]

hmmm... second one worked but the first one didn't... I'm just glad it works Thank you so much!

👍: 0 ⏩: 0

DragonPud In reply to KaseyKLCx3 [2013-02-28 22:13:58 +0000 UTC]

thanks so much You said journal...will this work anywhere else on my front page, or is it journal only? I'm trying to put it in the 'featured deviation' section so i don't have to change it all the time

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-03-01 05:04:29 +0000 UTC]

I tried using it for featured deviations as well.
Unfortunately, I haven't gotten it to work for any deviations.
But it seems like the deviation that we're commenting on has a successfully added Youtube video on it! I'm not quite sure how they did that... But I bet I can figure it out!

But, for right now, the code will probably work for other widgets such as the "Webcam" widget and so forth. Just use that for as of right now, if you don't want to keep changing it over and over again.

I'll continue to try and come up with a code that will effectively work in a deviation!

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-03-01 05:08:30 +0000 UTC]

heh. yeah, not sure why the video is there. I don't need it lol it doesn't change

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-03-01 10:36:11 +0000 UTC]

Well, I hope I helped!

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-03-01 20:00:33 +0000 UTC]

yes i'm so happy it WORKS thank you

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-03-02 06:51:51 +0000 UTC]



- Kasey

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-03-03 02:55:45 +0000 UTC]

👍: 0 ⏩: 0

SugahCookie [2013-02-22 02:37:18 +0000 UTC]

Oh my gosh! Thank you thank you thank you SOOOOO much!!!!!!!!

👍: 0 ⏩: 0

xNerdii [2013-02-11 21:08:57 +0000 UTC]


Can you note me the code?
I want this song ~
[link]

👍: 0 ⏩: 1

KaseyKLCx3 In reply to xNerdii [2013-02-26 09:27:18 +0000 UTC]

If you need help, I commented on how to successfully put the code into your journal entries! ^_^

👍: 0 ⏩: 0

Gr8AndPowerfulAroura [2013-02-07 00:04:47 +0000 UTC]

Uhm.. I tried putting it on my page.. and it shows up, but it says it's 0:00 and it doesn't play... ;__; Help pls?

👍: 0 ⏩: 1

KaseyKLCx3 In reply to Gr8AndPowerfulAroura [2013-02-26 09:26:56 +0000 UTC]

If you need help, I commented on how to successfully put the code into your journal entries! ^_^

👍: 0 ⏩: 0

waiting-for-wings [2013-01-30 09:30:11 +0000 UTC]

Thank you so much!

👍: 0 ⏩: 0

Vanghira [2013-01-20 20:55:28 +0000 UTC]

I keep putting the code in, but I can't find it. It's not up...

Trying to put this song up-->[link]

👍: 0 ⏩: 1

KaseyKLCx3 In reply to Vanghira [2013-02-26 09:21:16 +0000 UTC]

If you need help, I commented on how to successfully put the code into your journal entries! ^_^

👍: 0 ⏩: 0

DragonPud [2013-01-17 22:35:57 +0000 UTC]

I copy/pasted the copypastable code above, but it's still not working. It says I need Flash player, but i can watch vids on youtube just fine. Can you help me?

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-02-26 09:22:31 +0000 UTC]

You might need to update your Flash Player!

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-02-27 02:22:13 +0000 UTC]

i've tried that actually. FLash works just fine with everything else. My premie ran out so i can't use it now, but thanks for replying :}

👍: 0 ⏩: 1

KaseyKLCx3 In reply to DragonPud [2013-02-27 03:27:59 +0000 UTC]

You're welcome!

You might typed in the code incorrectly if that's the case. But if it isn't, I'm sure there are other embedded video/music players that don't require Flash Player.

👍: 0 ⏩: 1

DragonPud In reply to KaseyKLCx3 [2013-02-27 04:07:38 +0000 UTC]

hmm... i could have sworn i'd actually copied it. oh well

👍: 0 ⏩: 1


| Next =>