White background in embedded video.

darkscythe4633

New Member
YetiShare User
Jan 9, 2015
3
0
0
www.hentairush.com
Hey guys,

So, when trying to embed the videos on a dark background, for some reason, there is always a white background behind the embedded video. How do I get that to go away? URL for reference: http://www.hentaibeta.com/watch/subbed/episode/koi-maguwai-episode-1
 

musicdmca5046

New Member
YetiShare User
Apr 28, 2015
16
0
0
Its easy to change to Black

Open in Notepad/php editor: /plugins/mediaplayer/site/_embed.php

Find:
Code:
background-color: #fff;
Replace:

Code:
background-color: #000;
Thanks,
 

musicdmca5046

New Member
YetiShare User
Apr 28, 2015
16
0
0
If you remove background color its display only white color.

so there is no solution unless you customize the plugin.

If you want to customize the script?

Open in Notepad or PHP Editor: /plugins/mediaplayer/site/_embed.php

Find:
Code:
define("EMBED_WIDTH", $w ? $w : $pluginSettings['embed_video_size_w']);
Add Before:
Code:
if (isset($_REQUEST['color']))
{
    $color = $_REQUEST['color'];
} else {
    $color='fff';
}
Find:
Code:
    background-color: #fff;
Replace:
background-color: #<?php echo $color;?>;
While Embedding:
You have to add
Code:
&color=fff
or
Code:
&color=000
for color code

Check the Screenshot:

Code:
http://prntscr.com/709bgi

Thanks,
 

musicdmca5046

New Member
YetiShare User
Apr 28, 2015
16
0
0
Or take 2 px of the width in _append_file_download_bottom.php
Your method could be work, but the problem is once the embed code load its display white background until the player load, slow speed internet user will see the white box for long time.

Thanks,