A feature to stop sound/music?
Is there a feature in the HTML code to forcibly stop music and sound from playing?
I'm playing with the idea of using Vitalize in forum avatars, and it would be necessary to disable music and sound in them from the HTML code. An option like:
<PARAM NAME="DisableSound" VALUE="TRUE">
<PARAM NAME="DisableMIDI" VALUE="TRUE">
Re: A feature to stop sound/music?
There is no parameter for that. I'll see if we can add one.
Re: A feature to stop sound/music?
Dines, couldn't you just code your avatar with no sound and music applied or create a shortcut key or button on them to mute sounds, again coded into the avatar itself?
Re: A feature to stop sound/music?
I think he wants everybody to be able to create and submit avatars to the forum, and if someone of them adds sound or music to theirs things will just get irritating. He can't ask everybody to not create avatars with sound or music - people love to break rules.
Re: A feature to stop sound/music?
Just for info, even if I add these features that won't prevent people from using Direct Show or other sound objects to play sounds...
Re: A feature to stop sound/music?
Aw right, I didn't think of that.
Re: A feature to stop sound/music?
Yeah, but it's a start. People using DirectShow would presumably have to download the file from somewhere, or build it into their CCN.
Would CT consider releasing a little of the CCN file format specification, so webmasters can check certain details in the header on the server-side?
For instance, if someone uploaded an old gam file you could use PHP to test it and extract the author name, description, number of levels, and which extensions would be needed.
Having access to the extension table could be useful in vetting which ccn files are accepted as avatars. Sites like the VCade could use it to monitor competitions (e.g. a competition where a certain extension or group of extensions are either permitted or not permitted).
I guess it all depends on what parts of the CCN file are compressed.
EDIT: Forgot to mention, retrieving details like the game's frame dimensions would be one example of its use.
Re: A feature to stop sound/music?
Quote:
Originally Posted by Dines
Would CT consider releasing a little of the CCN file format specification, so webmasters can check certain details in the header on the server-side?
no way! that would just bring about another flash where everyone can decompile your game or get you level passwords, score submission frames etc. it is a worthless and stupid security lacking thing to do
Quote:
Originally Posted by Dines
Having access to the extension table could be useful in vetting which ccn files are accepted as avatars. Sites like the VCade could use it to monitor competitions (e.g. a competition where a certain extension or group of extensions are either permitted or not permitted).
can be done by looking in the CCN temp folder
Re: A feature to stop sound/music?
Quote:
it is a worthless and stupid security lacking thing to do
I think u're jumpin the gun there, mate. I said 'A LITTLE' of the format. Header info, and the ext table if it's not compressed. I'm not asking for an entire format spec.
My guess is, based on the way virtually every other format works, that it has an uncompressed header specifically so that other apps can read it easily. That's why so many formats have headers. It's a way of reading key data without having to comprehend the whole structure.
Finding the extensions using the CCN temp folder isn't viable in this scenario, since this is server-side. The point of reading the ext table and header is to allow the server to receive an uploaded file, check its extensions without running the app, and then weed out inappropriate CCNs.
We're not talking stripping images or decoding events. It was hard enough getting images from the old protected .gam files, I think things have got more advanced since then. A spec for the header won't compromise your apps any time soon.
Re: A feature to stop sound/music?
It sounds like the most stupid feature I've heard 'upload a CCN and check for inapropraiate extensions' vitalize! does that for you.
And I've never heard of a site that allows you to upload EXEs or SWFs and check what they use or get header information or whatever, so I still see no point in doing the same thing with CCNs as its a huge security flaw. Release a bit of the format and people will have a real easy time guessing how the rest of the format works.