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 | Next Page
Author Previous Topic Topic Next Topic
Page: of 17

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 02 March 2006 :  13:43:53  Show Profile  Visit Karel Bata's Homepage  Reply with Quote
quote:
Originally posted by tribaliztic
Thanks!
I'll have my user check this out tonight...
One user? That's tough. And I thought my forum was a bit quiet sometimes. Be kind to him / her.... <
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 02 March 2006 :  14:36:41  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Your demo link works for me, Marcel, in Firefox 1.5.0.1 and IE7 Beta though GoogleSyndication threw a javascript error (which had nothing to do with your jscript). Both browsers did not autostart the WMV media.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 02 March 2006 :  19:00:52  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

Am I following this right? Looking at the Oxle site, which I assume is being kept updated, you're commiting to setting a video window maximum size of 320 x 240, except for WMP which has a max of 600 x 600?

Is there any technical reason for the 320 x 240 limit? For instance, the Quicktime link I posted above is for a movie of 384 x 288 - which was yielded from a discrete division of the source material dimensions (which is what I got from a professional telecine from 35mm film negative on to 3:4 Digi-SP). It's not an arbitrary figure.

A lot of my potential users, who generally produce Quicktime files for demos, would rather see a lager size available, especially to accomodate widescreen. Remember that the old 4:3 aspect ratio won't be with us for much longer except for archive stuff. Think of how a widescreen clip would look squeezed into 320 x 240. Might I suggest a width limit of at least 480?


BTW All this suggests that Snitz only works on PCs and not on Apple Macs. Is that so?
<

Edited by - Karel Bata on 02 March 2006 19:39:23
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 03 March 2006 :  02:24:23  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
quote:
Originally posted by Karel Bata

quote:
Originally posted by tribaliztic
Thanks!
I'll have my user check this out tonight...
One user? That's tough. And I thought my forum was a bit quiet sometimes. Be kind to him / her....



Heh, "my one user that reported the error".. Is that better? The forum is never quiet =)
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 03 March 2006 :  04:12:01  Show Profile  Visit MarcelG's Homepage  Reply with Quote
quote:
Originally posted by Karel Bata


Am I following this right? Looking at the Oxle site, which I assume is being kept updated, you're commiting to setting a video window maximum size of 320 x 240, except for WMP which has a max of 600 x 600?

Sorry, I'm not following you...Where do you find the 600x600 dimensions ?
The functions used for topics have a predetermined width, all being 320x240 ; this is to not mess up the topic layout.

quote:
Originally posted by Karel Bata


Is there any technical reason for the 320 x 240 limit? For instance, the Quicktime link I posted above is for a movie of 384 x 288 - which was yielded from a discrete division of the source material dimensions (which is what I got from a professional telecine from 35mm film negative on to 3:4 Digi-SP). It's not an arbitrary figure.


As I said, the width limitations are only applicable to the media shown in topics ; on vid.asp you can define the width and height of the clip by means of &w=640&h=480 (resulting in a clip 640 pixels wide and 480 pixels tall)
In topic.asp, it's restricted to what I've currently set in embedding.js. You can however simply change the functions in embedding.js, to set the default. There's no option however to give normal users the ability to set the width/height themselves, to prevent XSS exploits.
quote:
Originally posted by Karel Bata


BTW All this suggests that Snitz only works on PCs and not on Apple Macs. Is that so?
Nope ; Snitz should be usable on Apple Macs.
The Windows Media Player however is kind of restricted to the Windows platform if I'm not mistaking...<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 03 March 2006 :  06:47:49  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

I got the 600 x 600 from your oxle forum which states:
    As long as your video/flash animation is less wide than 320 pixels, and less than 240 pixels tall, there's no problem.
    If you need more space, use the media player.
    That syntax is also very simple:
    vid.asp?s=sourcefile&t=type&w=width&h=height
    sourcefile: any valid URL will do.
    type: f for flash, q for quicktime, a for audio and w for content playable with Windows Media Player.
    witdh & height : any integer up to 600 wide and 600 tall.
    Example:
    vid.asp?s=http://thisismyvideo.com/myvid.wmv&t=w&w=480&h=320 Easy as that!

Maybe I'm reading it wrong, but I saw all players other than WMP as being restricted in size,
but you're saying the limits for all players can be re-defined in embedding.js?

My worry is that you might inadvertantly hobble this mod for those who work in widescreen,
use Quicktime as their preferred file format, or just because they want to ensure
cross-platform compatability - which WMP will not give them. Surely anyone interested
in moving pics has Quicktime installed?

Could I make a repeated plea that you at least increase the default width limitation?
To 480 perhaps? If the height limitation is left at 240 would that not take care of
your other worries?

I would think that the biggest problems with this mod when finally out there in the real
world are not going to be to do with layout, but with codec incompatabilities
and with folk posting huge video files, or getting the file settings wrong.
Let alone copyright...


BTW Haven't we forgotten RealMedia? I'm not a big fan of it (I use RealAlternative
for playback available at http://home.hccnet.nl/h.edskes/finalbuilds.htm ) but folk will likely want to post .ram files...
<

Edited by - Karel Bata on 03 March 2006 11:45:11
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 03 March 2006 :  07:21:38  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Ok, I see what causing the messup ; with 'media player', I mean the oxle media player, e.g. vid.asp.
So, indeed, it's not limited to just Windows Media, but all formats.
Examples:
http://oxle.com/vid.asp?s=O7&t=s&w=640&h=480 (flash)
http://oxle.com/vid.asp?s=NW&w=320&h=314 (wmv)
http://oxle.nl/vid.asp?s=O9&t=q&w=600&h=465 (quicktime, big one!!)

The problem with Quicktime is that it's 'crappy' at scaling a video.
You're however free to change the ReplaceQTTags in inc_func_common.asp to suit your needs, just change the highlighted details:
	CodeTags(1,1,2) = "<div class=""media""><script language=""javascript"">EmbedQuicktimeT("""
	CodeTags(1,2,2) = """,320,256,false)</script></div><div class=""break""></div>"

Be sure to update the poster image accordingly, since it needs to be the same size!<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 03 March 2006 :  08:45:33  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

Thanks for the (as ever) prompt reply.

QT may be crappy at scaling, but (in theory) it should be set at the correct size in the first place!

I just hope my host (Podge? ) is amenable to size tweaks. It would only be the once.

Got a RealMedia button for you: Hope it's useful. <
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 03 March 2006 :  08:49:10  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
You could have two quicktime tags. One 4:3 and the other 16:9 e.g.[qt][/qt] & [qtw][/qtw]

Realmedia rm files or Realmedia streaming .ram files ? We could also add asf (WMV streaming support).<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 03 March 2006 :  10:04:55  Show Profile  Visit Karel Bata's Homepage  Reply with Quote

Actually there's loads of real Media files .rm .ram .rmvb .rpx .smi .smil .ra .rpm .rt .rp.
What do we actually need though? Just a button for each meadia player? In which case we only
need one for all the varieties of Window Media if WMP is to handle that.

I'd be happy to just stick with Quicktime and Flash!

Unfortunately there's also a variety of widescreens. But if you think that two buttons would
make that easier to implement and manage, then you're much more the expert.
<

Edited by - Karel Bata on 03 March 2006 11:45:45
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 03 March 2006 :  10:05:25  Show Profile  Visit MarcelG's Homepage  Reply with Quote
ASF is already in there ; just use [wmv][/wmv] Same player, same object.
In fact, you can play ALL media that can be played with WMP using the [wmv][/wmv] tag, even audio, however, the difference with the audio player is that it reduces the height, leaving you with just the time/volume controls.

For Realmedia, I guess we should support all formats, so both RM as well as RAM.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 03 March 2006 :  10:36:00  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Cool. I still haven't fixed the problem with vid.asp for Google Video. I'll post what I have later this evening, maybe someone else will be able to solve it.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 03 March 2006 :  10:52:58  Show Profile  Visit MarcelG's Homepage  Reply with Quote
I've got Google Video running at oxle in vid.asp ; not using a specific function though, just using the flash-function, and with the isolated URL from the Google Put-on-your-site Code.
http://oxle.com/source.asp?page=vid.asp<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 03 March 2006 :  11:36:23  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I got it running that way too however it requires that the user extracts the url from the "Put on site" code. The regex does that so that the user can just post the code as it is without having to edit it.

These are the functions for embedding.js

function EmbedGVT(GoogleURL, width, height, autostart) {   
	if(autostart != true && autostart != false && autostart != "true" && autostart != "false"){
	autostart = false; //Replace with default. Default = false.
	}//See if we can continue.	
	if(GoogleURL == null || GoogleURL == "illegal"){
		//Nope, we can't.
		document.writeln(" error: illegal use of video tag! ");
	}else{
		//Add the code to the document.

		document.writeln('<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="' + GoogleURL);
		document.writeln('" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" wmode="window" salign="TL" > </embed>');
	}
}           

function EmbedGV(GoogleURL, width, height, autostart) {   
	if(autostart != true && autostart != false && autostart != "true" && autostart != "false"){
	autostart = false; //Replace with default. Default = false.
	}//See if we can continue.	
	if(GoogleURL == null || GoogleURL == "illegal"){
		//Nope, we can't.
		document.writeln(" error: illegal use of video tag! ");
	}else{
		//Add the code to the document.

		document.writeln('<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="' + GoogleURL);
		document.writeln('" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" wmode="window" salign="TL" > </embed>');
	}
}


I'll post the rest later (can't get to it now).<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 06 March 2006 :  04:50:32  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message  Reply with Quote
This mod is getting bigger every day =)
Great work guys!
<

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page
Page: of 17 Previous Topic Topic Next Topic  
Previous Page | Next 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07