16.11.2017, 15:01
Witam, jak usunąć przycisk pobierania z playeru zippyshare?
trzeba grzebać w tym? lub zrobić taki swój plik?Kod PHP:
api.zippyshare.com/api/jplayer_embed.jsp
Wyrażenie regularne
Kod:
\[zippy\]http://www(.*?).zippyshare.com/v/(.*?)/file.html\[/zippy\]
zamiana:
player 1
Kod:
<script type="text/javascript">var zippywww="$1";var zippyfile="$2";var zippytext="#000000";var zippyback="#e8e8e8";var zippyplay="#ff6600";var zippywidth=700;var zippyauto=false;var zippyvol=80;var zippywave = "#000000";var zippyborder = "#cccccc";</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed_new.js"></script>
player 2
Kod:
<center><div style="width: 400px;"><embed flashvars="width=955&baseurl=http://www.zippyshare.com/api/&file=$2&server=$1&availablequality=both&autostart=false&bordercolor=#cccccc&forecolor=#000000&backcolor=#f2f2f2&darkcolor=#000000&lightcolor=#ff6600" allowfullscreen="false" quality="high" name="mpl" id="mpl" style="" src="http://www$1.zippyshare.com/swf/player_local.swf" type="application/x-shockwave-flash" width="400" wmode="transparent" height="80"/></div></center>
[attachment=12921]