Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Using video/flash in topics?
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 17

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 July 2009 :  07:26:44  Show Profile  Visit MarcelG's Homepage  Reply with Quote
quote:
If you implement the above mentioned functions etc, you'll be able to use the [video][/video] tags for:
...
* 4:3 & widescreen Vimeo videos using the HTML Embedding code provided by Youtube Vimeo.
* 4:3 Vimeo videos using the URL


Example at oxle:

This link: http://vimeo.com/4946315
Embedded as widescreen player with the embed code:
[video]<object width="400" height="225"><param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" 
value="http://vimeo.com/moogaloop.swf?clip_id=4946315&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" />
<embed 
src="http://vimeo.com/moogaloop.swf?clip_id=4946315&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1"
type="application/x-shockwave-flash" 
allowfullscreen="true" 
allowscriptaccess="always" 
width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/4946315">gottardo nord</a>
 from <a href="http://vimeo.com/fb1visuals">fb1 visuals</a>
 on <a href="http://vimeo.com">Vimeo</a>.</p>[/video]

Or as 4:3 player with just the link:
[video]http://vimeo.com/4946315[/video]


At oxle: http://oxle.com/topic/5898.html

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 15 July 2009 07:31:44
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 25 July 2009 :  13:20:34  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
Marcel,

I love all the work you did to this and appreciate that you're sharing it.

I'm sure you considered this, so I want to get your thoughts because I might allow videos on my site:

Would it be simpler to create a system where the user can input the video ID instead of the entire embed code? I think the video ids are always the same, even when urls change. Then you can create a system that allows the user to check the site where they're grabbing the video. This seems to reduce the complexity but requires the poster to know where to find the video id.

For example, the user goes to embed a video id:


Supported video sites (radio button):

- YouTube
- Vimeo
- NYTimes

Embed video id: ________________.

This seems to reduce the complexity of the script and also seems like it would be easy to update or is this simply one half of the other?
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 27 July 2009 :  07:00:01  Show Profile  Visit MarcelG's Homepage  Reply with Quote
That's how I used it initially.
However, as most users simply want to grab the embed code instead of look for the video id, I decided to change the approach to actually allow the embed code to be posted.
That's why I now have support for just a couple of sites instead of all sites.
My code finds out which video to embed, and which size (widescreen or 4:3), and then changes it accordingly.
You could add any site embed code if you want, as long as you know how to deconstruct it to remove malicious inserted code and reconstruct it.
From the top of my head my code now supports Youtube, Vimeo, GoogleVideo and Dailymotion.

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 27 July 2009 07:00:15
Go to Top of Page
Page: of 17 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07