• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[Add More Video Sites] BB Code Media

Has anyone have a solution for sevenload.com ? Much appreciated if there is :D
I can't manage to strip the end part away from the rest of the URL. I'd need to know what input the {$1} accepts, e.g. {$1:digits}, etc, etc. because an example url links is: 1WQ4JWS-Surfing-broken-head but I can't split out the first seven characters which are what is required.

Unfortunately as I don't know the answer there's nothing I can do, my result currently gives me an error or a 1.
 
I can't manage to strip the end part away from the rest of the URL. I'd need to know what input the {$1} accepts, e.g. {$1:digits}, etc, etc. because an example url links is: 1WQ4JWS-Surfing-broken-head but I can't split out the first seven characters which are what is required.

Unfortunately as I don't know the answer there's nothing I can do, my result currently gives me an error or a 1.

:( Thanks for tying MYstIC G.
 
No problem laztrix. Oh and by {$1} in my previous post I actually meant {$id} before anyone thinks I've gone mad.
 
{$id} matches [^"\'?&;/<>\#\[\]]+

Outside of {$id:digits}, there's no other system for filtering out the idea, so if you can't match a dash, that would currently require a modification.
 
I posted this elsewhere but it's probably better off in this thread.

If, like me, you prefer the YouTube iframe player, they have finally added a wmode parameter so it no longer causes a problem with overlays.

This is what I'm using; change the sizes to suit your own installation.

Code:
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0"></iframe>

Credit to Mike for noticing this.
 
CollegeHumour
This will match a CollegeHumour video link.
  • Media Site ID: collegehumour_video
  • Site Title: CollegeHumour
  • Site URL: http://www.collegehumor.com/
  • Match URLs:
    Code:
    collegehumor.com/video:{$id}
  • Embed HTML:
    Code:
    <object type="application/x-shockwave-flash" data="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={$id}&fullscreen=1" width="640" height="360" ><param name="allowfullscreen" value="true"/><param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/><param name="movie" quality="best" value="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={$id}&fullscreen=1"/><embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id={$id}&fullscreen=1" type="application/x-shockwave-flash" wmode="transparent"  width="640" height="360"  allowScriptAccess="always"></embed></object>
  • Example URL: http://www.collegehumor.com/video:1948884
  • Result:
    Code:
    [media=collegehumour_video]1948884[/media]
 
would Videosift vides work as a BB code ?
I can't see an obvious way of doing it because:
You'd need to strip the six digit code out of the HTML. I can't say this seems like a massive issue though because videosift just steal borrow content from places like Youtube?
 
FunnyorDie
This will match a FunnyorDie video link.
  • Media Site ID: funnyordie_video
  • Site Title: FunnyorDie
  • Site URL: http://www.funnyordie.com/
  • Match URLs:
    Code:
    funnyordie.com/videos/{$id}/*
  • Embed HTML:
    Code:
    <object width="512" height="328" id="ordie_player_{$id}"><param name="movie" value="http://player.ordienetworks.com/flash/fodplayer.swf" /><param name="flashvars" value="key={$id}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always"></param><embed width="512" height="328" flashvars="key={$id}" allowfullscreen="true" allowscriptaccess="always" quality="high" src="http://player.ordienetworks.com/flash/fodplayer.swf" name="ordie_player_{$id}" type="application/x-shockwave-flash"></embed></object>
  • Example URL: http://www.funnyordie.com/videos/bfb12aea47/charlie-sheen-s-winning-recipes?playlist=featured_videos
  • Result:
    Code:
    [media=funnyordie_video]bfb12aea47[/media]
 
Is there any reason the settings in this thread can't be added to the next update for XF? It seems we shouldn't each have to manually enter this information when it can all be captured once and set for everyone.
 
Everyone's settings are different.
My YouTube, Vimeo and Facebook settings are completely different from the defaults.

Not everyone has a need for all of these sites too, I certainly don't.
 
It is my understanding the purpose of these settings are to allow users to post media content from various sites in threads on our forums. Is that correct?

If so, the default XF installation only is set up for YouTube, Facebook and Vimeo. These settings expand upon those defaults and permit our members to upload videos from many more sources, correct?

I would think we want to offer our users the freedom to add as much content to our sites as possible. The current process seems to be...user tries to upload content and fails because their provider isn't loaded into the system. Many users will give up, but some will contact an admin. If an admin is aware of the issue, he/she can then add the correct codes so our member can then upload their media. Is this correct?

I am just thinking we should be as proactive as possible on this matter. I fail to see the downside.
 
The same argument could be made for smilies, BB Code, Languages, etc.

Start adding a load of stuff which most people aren't going to use and there'll be complaints of bloat.

The option is there for the Admin to add them.
 
Anyone had success with myvideo.de ?

MyVideo.de
This will match a MyVideo.de video link.
  • Media Site ID: myvideode_video
  • Site Title: MyVideo.de
  • Site URL: http://www.myvideo.de/
  • Match URLs:
    Code:
    myvideo.de/watch/{$id}/*
  • Embed HTML:
    Code:
    <object style='width:611px;height:383px;' width='611' height='383'><param name='movie' value='http://www.myvideo.de/movie/{$id}'></param><param name='AllowFullscreen' value='true'></param><param name='AllowScriptAccess' value='always'></param><embed src='http://www.myvideo.de/movie/{$id}' width='611' height='383' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true'></embed></object>
  • Example URL: http://www.myvideo.de/watch/8048217/Seltsamer_Stunt
  • Result:
    Code:
    [media=myvideode_video]8048217[/media]
 
Top Bottom