News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Audio Video Embedder

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

Previous topic - Next topic

wlchase

FWIW...

I was trying to update from 2.3 to 2.5.1, and got errors trying to uninstall, edited the various files to remove all code associated with SAVE (cute, btw), and then the install ran fine.

Except it didn't. It copied the files appropriately, but didn't do the edits. Once I manually edited the files, all was well. This on 2.0.8.

On a related note, the ./Themes/default/languages/Modifications.english-utf8.php file is not set up with the PHP tags, it's just plain text, if that matters.

In any case, all is well, thanks for a great mod!

Bill
Bill http://www.czfirearms.us  SysAdmin

KamiN

Hi there,

Just got this addon - I'm running a website over SSL and would like to embed Youtube. So I'm using the following format in an attempt to embed:
1.
https://www.youtube.com/embed/3bEtJgnd86M
^ Seems to not work at all, just displays it as it is.

https://www.youtube.com/watch?v=3bEtJgnd86M
^ Seems to create the following:
<div class="inner" id="msg_41"><object width="640" height="385">
<param name="movie" value="http://www.youtube.com/v/3bEtJgnd86M&amp;fs=1&amp;start=">
<param name="allowFullScreen" value="true">
<embed src="http://www.youtube.com/v/3bEtJgnd86M&amp;fs=1&amp;start=" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="385" wmode="transparent"></object></div>


As you can see, it is being changed to http:// - is there any way to keep the protocol as https? Browsers generally disallow running http:// content on a full https:// site.

Thanks in advance.

yelegen


AlphaMBM

Hello, I installed this mod on 2 forums (2.08). I have 1 working and the other won't install the package. I keep getting a post.php test failed.
I double checked the edits to that file and they look correct. I even tried copying the post.php file from the forum that is working to the one that isn't and I still get the same error. I'm kinda stuck as to what to do now. Any help is appreciated.
BTW This mod works awesome on the forum that I do have it working on.

Steve

Any chance this mod could be renamed to something shorter? Like Simple A/V Embedder or the like? The length of the name causes some minor issues in some skins with menu items. Not a big deal, just wondering.
DO NOT pm me for support!

vbgamer45

You can modify the title from the text strings in themes/default/langugages/modifications.english.php
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

Steve

Brilliant! Thanks for that. :D

I changed it for the admin title so the Lazy Admin mod works correctly with it but not knowing anything about coding, do I have to change each occurrence?

$txt['remove_image_from_post'] = 'Click for image';
// Begin Auto Embed Media Pro Text Strings
$txt['mediapro_admin'] = 'A/V Embedder';
$txt['mediapro_settings'] = 'Settings';
$txt['mediapro_save_settings'] = 'Save Settings';
$txt['mediapro_err_cache'] = 'Cache folder not writable must fix for performance!';
$txt['mediapro_settings2'] = 'Settings and configuration for Simple Audio Video Embedder';
$txt['mediapro_copyremove'] = 'Copyright Removal';
$txt['mediapro_copyremove2'] = 'Remove the copyright for Simple Audio Video Embedder';
// END Auto Embed Media Pro  Text Strings
DO NOT pm me for support!

zorer

Hi!

Can you upgrade soundcloud and goear? They changed the api/embed code.
Thanks!

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

zorer

Quote from: vbgamer45 on July 29, 2014, 09:14:43 AM
I need example links and embed code.

SoundCloud

Link
https://soundcloud.com/inoue-sora/distant-dreams-west-one-music

Embed
<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/77679563&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe>

Goear

Link
http://www.goear.com/listen/474bfa4/in-the-beginning-and-let-there-be-light-mike-oldfield

Embed
<iframe width="580" height="115" src="http://www.goear.com/embed/sound/474bfa4" marginheight="0" align="top" scrolling="no" frameborder="0" hspace="0" vspace="0" allowfullscreen></iframe>

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

青山 素子

As a note to zorer, the problem with SoundCloud is that the link to the item doesn't contain enough information to build the embed style. Specifically for the example, there is no way to know that "inoue-sora/distant-dreams-west-one-music" is "tracks/77679563" without more information than just the main URL. As this package doesn't do fetches of remote content for that type of thing, it's basically impossible.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


gaurav09

it installed properly,.
but's it's not working...i am adding youtube video but even youtube video is not playing :(
help and when uninstalling it's showing error in QueryString.php
i think problem is there,..please fix it help me :'(

And please add : http://picosong.com/

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

gaurav09

Quote from: vbgamer45 on August 08, 2014, 12:40:27 AM
Need to see example youtube link that is not working
i tried many youtube links differently like removing "www" or adding,..means i tried everything.
please help ..

Steve

When you watch a video, are you using the link it gives you when you click 'Share' underneath it?

And like the man said, paste an example url of a video that's not working.
DO NOT pm me for support!


Steve

Where did you say that?

At any rate, does it work if you use http instead of https? http://www.youtube.com/watch?v=-AUxoIESmq4

And I know you said you tried everything but we don't know that for sure unless you list everything you've tried.
DO NOT pm me for support!

Shambles

Quote from: gaurav09
for example " https://www.youtube.com/watch?v=-AUxoIESmq4 "
That link works perfectly in S.A.V.E in my 2.0.8 installation.

Steve

As it does in mine. I was just trying to gather as many symptoms as possible.
DO NOT pm me for support!

Advertisement: