• Welcome to Simple Machines Community Forum. Please login or sign up.
September 23, 2021, 04:11:05 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Simple Audio Video Embedder

Started by SMFHacks.com Team, August 09, 2010, 10:42:47 PM

Previous topic - Next topic

Leniek

I made zippyshare better. Now both types zippyshare 1 & 2 have download button i modded code in AutoEmbedMediaProInstall2.php

lines 398-406

$smcFunc['db_query']('', "REPLACE INTO {db_prefix}mediapro_sites
(ID,title, website, height,width,  regexmatch, embedcode)
VALUES
(68, 'Zippyshare', 'http://www.zippyshare.com', 300,20, 'http://([A-Z0-9]*).zippyshare.com/v/([A-Z0-9]*)/file.html','" . '
<object></object><script type="text/javascript">var zippywww="$1";var zippyfile="$2";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=false;var zippyvol=80;var zippydwnbtn = 1;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>
' . "'),
(69, 'Zippyshare 2', 'http://www.zippyshare.com', 375,500, 'http://([A-Z0-9]*).zippyshare.com/view.jsp" . '\\' .'\\' . "?locale=([A-Z0-9]*)" . '\\' .'\\' . "&amp;key=([A-Z0-9]*)','" . '
<object></object><script type="text/javascript">var zippywww="$1";var zippyfile="$3";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=false;var zippyvol=80;var zippydwnbtn = 1;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>
' . "')


Big thanks for this great mod! I think you should include this version of zippyshare in next relase

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Leniek

Unfortunatelly width is set in this file, so you have to change it in SQL, not in admin panel :(

vbgamer45

1.1.3
!Updated zippyshare to use the same emded code both types
+Added Google Maps Support
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skylined

I've tried to use Google Maps, but the map won't show up.
How should the link look like?


Skylined

Your link has worked, but I can't figure out why mine doesn't.
Where do you get that link from?

My Google Maps is in spanish, may it have something to do with that?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


Aaron10

Hi

Any luck with adding more than 1 dailymotion video to a post?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

waruna

Trust of Lust

Aaron10

Quote from: waruna on April 06, 2011, 01:59:24 PM
Quote from: Aaron10 on April 06, 2011, 11:56:39 AM
Hi

Any luck with adding more than 1 dailymotion video to a post?

Yes.. Success

Ok how did you do that? Because I add a dailymotion vid, then any text after it in the post is just removed.

waruna

Quote from: Aaron10 on April 06, 2011, 08:44:38 PM
Quote from: waruna on April 06, 2011, 01:59:24 PM
Quote from: Aaron10 on April 06, 2011, 11:56:39 AM
Hi

Any luck with adding more than 1 dailymotion video to a post?

Yes.. Success

Ok how did you do that? Because I add a dailymotion vid, then any text after it in the post is just removed.

I just copy and paste the url.. It works. See THIS for example
Trust of Lust

bfallgren

I had to uninstall and reinstall this mod, and it didn't remove the copyright in the footer, and added a new one. Right now I have two copyrights in my footer, I tried fixing it but I am not having much luck. Anything I may be missing?

bfallgren


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

bfallgren

You mean like an embed code?

<object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F9408008"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F9408008" type="application/x-shockwave-flash" width="100%"></embed> </object>  <span><a href="http://soundcloud.com/black_bird/orphanage-kids">Orphanage kids</a> by <a href="http://soundcloud.com/black_bird">black_bird</a></span>

or direct link

http://soundcloud.com/black_bird/orphanage-kids

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

bfallgren

Not sure what that is but ok thanks for trying! Did you get a chance to read my other message about duplicate copyrights?

Advertisement: