Advertisement:

Author Topic: Simple Audio Video Embedder  (Read 850353 times)

Offline Nymeria

  • Semi-Newbie
  • *
  • Posts: 22
  • Gender: Female
    • Hielo y Fuego (Game of Thrones by HBO in Spanish)
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #920 on: November 14, 2011, 01:30:43 PM »
OK, thank you.
Hielo y Fuego [nofollow] (Game of Thrones by HBO in Spanish).

Offline !RFAN

  • Sr. Member
  • ****
  • Posts: 716
  • Gender: Male
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #921 on: November 16, 2011, 04:45:03 AM »
can you please add HulkShare.com?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #922 on: November 16, 2011, 09:24:09 AM »
Need example links etc.
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

Offline opheliagrimm

  • Semi-Newbie
  • *
  • Posts: 21
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #923 on: November 16, 2011, 08:40:19 PM »
Some people pastes youtube links like this:
http://www.youtube.com/watch?feature=player_detailpage&v=2IIG-gHXw8c [nofollow]
and other versions (with video at the end)
Can be added something to have that kinds of videos working too?

I have the same problem, did you have a fix for this vbgamer?

I usually have to go and edit the person's link and replace with a short version which works fine (but is labour intensive)

Can your mod support those long youtube links?

Sorry if you answered before. Checked about 4 pages back and didn't see a response.

Also, bought your newsletterpro mod. Works great so far! good work

Offline DaleM

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #924 on: November 17, 2011, 04:13:06 PM »
The "YouTube Short URL" regexmatch needs a small tweak. Video id's with a dash (-) in them will not embed.

Currently, the dash is after the = sign:

Code: [Select]
http://[w\.]*youtu\.be/([a-zA-Z0-9&;+=-_]*)
Moving the dash to before the a-z will fix it:

Code: [Select]
http://[w\.]*youtu\.be/([-a-zA-Z0-9&;+=_]*)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #925 on: November 17, 2011, 08:08:13 PM »
Thanks DaleM if you want to be part author let me know really appreciate all the help you give. The regex stuff I do not know a ton about but normally can piece stuff together.
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

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #926 on: November 17, 2011, 08:18:45 PM »
Minor bugfix update
2.0.4
!Fixed bug with - in video url in short youtube urls  thanks DaleM
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

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #927 on: November 18, 2011, 03:51:48 AM »
Yay, finally a mod that allows for sharing of youtube vids!

Thanks, vbgamer45!

Just one comment, in the settings area at the top it says my version is out of date but I'm pretty sure this is the latest version...

Your Version: 2.0.4 Latest Version: 2.0.3 Your Simple Audio Video Embedder version is not up to date!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #928 on: November 18, 2011, 08:32:44 AM »
Fixed the version number in the settings area
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

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: Simple Audio Video Embedder 2.0.2 (Oct 9) 60+ Video Sites supported!
« Reply #929 on: November 18, 2011, 05:36:44 PM »
Hey vbgamer45

My users are already rejoicing over this mod, btw.  I did have a question about whether there was a disable-in-post function at all.  Something like this user mentioned a few pages back but I couldn't find an answer for it...

First of all, thanks for this mod. I have one wish though: Would it be possible to add a way to intentionally prevent auto-embedding in a certain post? While in most cases one wants auto embedding (otherwise we wouldn't install the module), there are situations where it is not wished for. My idea would be to do it like this:

Code: [Select]
http://supported.video/url => embedded as it is plain text
[url=http://supported.video/url]link text[/url] => not embedded as user seems explicitely want a text link

Is this something that can be done?

Thanks
WS

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #930 on: November 18, 2011, 05:38:05 PM »
Maybe add a character after it like #
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

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #931 on: November 18, 2011, 06:10:33 PM »
That worked!

Thanks for the quick reply!

Offline WantSome

  • Jr. Member
  • **
  • Posts: 361
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #932 on: November 18, 2011, 06:23:42 PM »
Spoke too soon:

After finding that adding the # worked I realised that suddenly NONE of the videos were embedded any more.  I uninstalled the mod and reinstalled it.  Now the videos embed but adding the # doesn't work.

Any advice?

Offline DaleM

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #933 on: November 18, 2011, 07:57:03 PM »
Thanks DaleM if you want to be part author let me know really appreciate all the help you give. The regex stuff I do not know a ton about but normally can piece stuff together.

Thanks for the offer, but I better just stick to pointing out fixes.  :P If this doesn't scare you, I don't know what will: I just started learning how regex stuff works from your SAVE mod. So I'm less experienced than you are with it. I just search around for an answer when I run across an issue, then share the findings here.

Keep up the good work! Users of our forum appreciate how easy it is to embed videos.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #934 on: November 18, 2011, 09:12:09 PM »
K, let me know if you change your mind. I do really appreciate the work saves me so much time so even more so when I manage all the mods that I have.
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

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 976
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #935 on: November 19, 2011, 04:25:13 AM »

Can you please add a more recent screenshot for the settings window?

Offline !RFAN

  • Sr. Member
  • ****
  • Posts: 716
  • Gender: Male
Re: Simple Audio Video Embedder 2.0.3 (Oct 22) 60+ Video Sites supported!
« Reply #936 on: November 19, 2011, 05:03:03 AM »
Need example links etc.

http://hulkshare.com/6krxezc522yy

Option 1

Code: [Select]
<!-- begin hulk embed -->
<link type="text/css" href="http://static1.hulkshare.com/js/jplayer.dark.2.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://static1.hulkshare.com/js/jquery.jplayer.min.js"></script>
<script type="text/javascript">
 
  $(document).ready(function(){
    $("#jquery_jplayer_4486402").jPlayer({
      ready: function () {
        $(this).jPlayer("setMedia", {
          mp3: "http://hulkshare.com/ap-6krxezc522yy.mp3"
        });
      },
      swfPath: "http://static1.hulkshare.com/js",
      supplied: "mp3",
      cssSelectorAncestor: "#jp_interface_4486402"
    })
    .bind($.jPlayer.event.play, function() {
      $(this).jPlayer("pauseOthers");
    });
  });
 
</script>
<div id="jquery_jplayer_4486402" class="jp-jplayer"></div>
<div class="jp-audio">
  <div class="jp-type-single">
    <div id="jp_interface_4486402" class="jp-interface">
      <ul class="jp-controls">
        <li><a href="#" class="jp-play" tabindex="1">play</a></li>
        <li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
      </ul>
      <div class="jp-progress">
        <div class="jp-seek-bar">
          <div class="jp-play-bar"></div>
        </div>
      </div>
<div class="jp-volume-string">volume</div>
<div class="jp-download-string" onclick="javascript:window.location='http://hulkshare.com/6krxezc522yy';"></div>
<div class="jp-file-string">High Notes - Tanhaee - HiGH NOTES.mp3</div>
      <div class="jp-volume-bar">
        <div class="jp-volume-bar-value"></div>
      </div>
      <div class="jp-current-time"></div>
      <div class="jp-duration"></div>
    </div>
  </div>
</div>
<!-- end hulk embed -->

Option 2

Code: [Select]
<object type='application/x-shockwave-flash' data='http://on.hulkcdn.com/static/embed.swf' height='24' width='290' id='4486402'><param name='movie' value='http://on.hulkcdn.com/static/embed.swf' /><param name='FlashVars' value='soundFile=http://hulkshare.com/ap-6krxezc522yy.mp3&titles=High Notes - Tanhaee - HiGH NOTES.mp3&skin=raven&dllink=http://www.hulkshare.com/6krxezc522yy'><param name='quality' value='high'><param name='menu' value='false'><param name='wmode' value='transparent'></object>

Offline diks13

  • Newbie
  • *
  • Posts: 5
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #937 on: November 20, 2011, 06:54:00 PM »
I use last version Simple Audio Video Embedder 2.0.4 in Google Chrome 15.0.874.120 has noticed that distance between a player and the text too big, has found out that all business in tag <object></object>  between them is empty! Has removed them in a file
AutoEmbedMediaProInstall2.php
AutoEmbedMediaProInstall.php

(68, 'Zippyshare', 'hxxp:www.zippyshare.com [nonactive]', 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=480;var zippyauto=false;var zippyvol=80;var zippydwnbtn = 1;</script><script type="text/javascript" src="hxxp:api.zippyshare.com/api/embed.js [nonactive]"></script>
' . "'),
   (69, 'Zippyshare 2', 'hxxp:www.zippyshare.com [nonactive]', 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="hxxp:api.zippyshare.com/api/embed.js [nonactive]"></script>
' . "')
It became good.
Pay attention to this error.
Thanks.
« Last Edit: November 20, 2011, 06:57:38 PM by diks13 »

Offline !RFAN

  • Sr. Member
  • ****
  • Posts: 716
  • Gender: Male
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #938 on: December 01, 2011, 07:04:53 AM »
facebook videos are not working with this mod.. maybe they have changed the link style

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder 2.0.4 (Nov 17) 60+ Video Sites supported!
« Reply #939 on: December 01, 2011, 12:36:36 PM »
Show me some example links
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