• Welcome to Simple Machines Community Forum. Please login or sign up.

Simple Audio Video Embedder

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

Previous topic - Next topic

Leniek

I got installed Aeva Media 1.4 on SMF 2.0 RC5 and when i try to instal this mod it shows me error in Subs/post.php
can i have both mods working? I want Aeva for gallery only.

vbgamer45

What's the exact error. I think both mods are changing the same code so i think that one is safe to ignore.
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

Arantor

Quotecan i have both mods working? I want Aeva for gallery only.

Out of interest, why, when that supports more sites than SAVE does?

Mind you, I wouldn't rely on Aeva too much since I don't know when Nao's removing it from the mod site.
No good deed goes unpunished
All helpful urges should be circumvented

Drazen

I have SMF 1.1.13

I'm getting this message above the settings section and I don't see a link to click to embed a video in a post :-\ Is there a bug or am I missing something? I have selected youtube in the settings.


vbgamer45

Download the latest version from the mod site.

There is no link to click just put the video url into the post.
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

Quote from: Arantor on March 21, 2011, 12:57:55 PM
Quotecan i have both mods working? I want Aeva for gallery only.

Out of interest, why, when that supports more sites than SAVE does?


I need zippyshare which will be avaiable in SAVE (according to vbgamer45 statment)

Quote from: vbgamer45 on March 21, 2011, 12:54:44 PM
What's the exact error. I think both mods are changing the same code so i think that one is safe to ignore.

Just simple FAILED at installation via Admin panel

vbgamer45

If it is Post.php error you can ignore that and continue with the install.
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

DaleM

Quote from: Leniek on March 21, 2011, 03:31:08 PM
I need zippyshare which will be avaiable in SAVE (according to vbgamer45 statment)

Regarding zippyshare - Can you post a link that you would expect your users to post in your forum? And also the embed code that you would want the same link embedded to?

I keep seeing these requests for zippyshare, but I looked at the zippyshare website and I don't see anything to embed (assuming you are talking about zippyshare.com).

Leniek

Implementation in MyBB
http://www.electro-sound.pl/showthread.php?tid=32391

zippyshare.com blog post
http://www.blog.zippyshare.com/?p=190

example embedded player code from zippyshare.com
<script type="text/javascript">var zippywww="www24";var zippyfile="18807283";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=300;var zippyauto=false;var zippyvol=80;var zippydwnbtn = 1;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>

vbgamer45

Need more examples of hosted links.
That link above looks like it is just the main blog and not shared files.
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

DaleM

vbgamer - I went to the zippyshare web site and uploaded a couple mp3 files. Here are the links that I received:
http://www34.zippyshare.com/v/49105515/file.html and http://www48.zippyshare.com/v/91454625/file.html

You can get embed code from those links, but I could not get those to work. They are javascript scripts. You may be able to figure out how to utilize those, but I could not.

But looking at the page source on the MyBB link that Leniek posted above, I was able to piece together this that actually works - at least it appears to. Maybe it will at least get you started down the right path.

I added this to the database as the regexmatch:
http://([A-Z0-9]*).zippyshare.com/v/([A-Z0-9]*)/file.html

And this embed code:
<embed src="http://zippyshare.com/mediaplayer/mediaplayer.swf?file=http://$1.zippyshare.com/downloadMusic%3Fkey%3D$2xx&amp;type=flv" type="application/x-shockwave-flash" width="300" border="0" height="20">

Or here is the complete INSERT statement:
INSERT INTO `smf_mediapro_sites` (`title`, `enabled`, `website`, `regexmatch`, `embedcode`, `processregex`, `height`, `width`) VALUES('Zippyshare', 0, 'http://www.zippyshare.com', 'http://([A-Z0-9]*).zippyshare.com/v/([A-Z0-9]*)/file.html', '<embed src="http://zippyshare.com/mediaplayer/mediaplayer.swf?file=http://$1.zippyshare.com/downloadMusic%3Fkey%3D$2xx&amp;type=flv" type="application/x-shockwave-flash" width="300" border="0" height="20">', '', 20, 300);

Note that this was only an audio/mp3 file. I'm not sure how a video file would be handled. I did not have a small video to upload to test.

Leniek

var zippywww="www24";var zippyfile="18807283"

Thats the key variables in embeded player

for exmaple
if link is:
http://www4.zippyshare.com/view.jsp?locale=pl&key=84566795

It would be:
var zippywww="www4";var zippyfile="84566795"

Thats the only 2 things you have to dynamically edit in embedder code from zippyshare.

sombra

nice mod

i have a question i dont know how does it work i just insert the code odf the video like this

<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/d9fbZ5gj_5s" frameborder="0" allowfullscreen></iframe>

and it will apear?

another thing i have Auto Code Live Links installed meaby this is my problem?

vbgamer45

No you insert the link to the video from the url of your browser.

Auto code live links not sure about that.
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


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

Can you only put one video per post? I'm using dailymotion

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

Yeah just tried metacafe 2 videos works fine. Can you test 2 dailymotion vids? Could be a bug.

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

Advertisement: