Hello people!
I just uploaded the new version of the
Object Tag. Since its been tested and used on production sites, I will list some benefits you can achieve on using it, and Ive added a really special feature thats helping me a lot with
Acessibility and
SEO on flash whole made sites using
CMSMS as a backend.
Why would you use it?
Do you like
accessibility?
seo?
web standards?
flash?
media player?
quicktime? All together?
No javascript? A standard way to include flash, media player or quicktime movies without repeat the whole code? A way that fits on any good browser and even IE(that I not tag as good)? Try it. Use It.
First, you can find it here:
http://dev.cmsmadesimple.org/projects/objecttag/just
download it and put on you /plugins folder
Now when you go to
Extensions -> Tags on CMSMS Admin, the object tag should be listed as 'object'.
Dont be so rush, and take a good look at the
Help link.
Its simple! But I will teach a few more tricks, and how I am using this tag to deliver not just movies, but whole dynamic flash content driven by CMSMS using the Object Tag.
Ive added two new params, the 'open' and 'close' options.
If you want to display a flash movie, and want a
alternative content if the user dont have flash enabled, use a device that not support flash, or the version of Flash that youre using and/or want with to be WAI Accessibility Standards Compliant, you should use something like:
{object src='uploads/movie.swf' height='300' width='300' param='quality::low||bgcolor::#ffffff' alt='Alternative content'}
Ok, that was easy, but limited if this alternative content is more than a single line or a link. Now you can do the same using the new 'open' and 'close' params as:
{object open=1 src='uploads/movie.swf' height='300' width='300' param='quality::low||bgcolor::#ffffff'}
Alternative content, Download Link, a content block, a menu tag, any tag, any module, anything that represents the flash movie original content
{object close=1}
Note that you can add any content between the two call to the object tag.
Lets go further, lets
send some data to flash via flashvars!
Ok, to do this, lets organize the job! First we need to add a new content block to the template, and lets assign the contents to a variable. Put this somewhere on you template.
{content block='flashvars' assign='flashvars' wysiwyg='false'}
Great, now any page associated with this template will show a new textarea on edit page. The idea it to put on this content block the value of the FlashVars param so put something like:
text=This text is dynamic, provided from CMSMS!&text2=More dynamic text
ok, now we can call the object tag and set the flashvars using this content block! Look:
{object open=1 src='uploads/movie.swf' height='300' width='300' param='FlashVars::$flashvars||bgcolor::#ffffff'}
Some alternative content, or even the same data(xhtml formatted) were sending to flash.
Download flash player link.
{object close=1}
Now inside you movie there will be two new variables
text and
text2.
This is just and idea, use it the way you like it!
This practice in the only SEO and Accessibility compliant with the search engines specifications and WAI standards.
Currently my showcase is
http://www.restaurantekinoshita.com.brThere is just one movie and I have all pages indexeds, with own meta tags, keywords and content. In this case, after you went throught one page, you will stay on that page navigating the whole site, since we have a great jazz!
But check out
http://www.google.com.br/search?q=site%3Arestaurantekinoshita.com.brAll the pages are indexed, each one with the same content as flash, own meta keywords and description! All the links are indexed too!
Remember, to view the alternative content, you have to use a xhtml compliant text browser, or a browser that dont have flash installed. Its pratically impossible to turn flash off(FlashBlock wont work because it do not show the alternative content). Or try viewing the source code!
Try Goggling Amaya for a good W3C compliant browser.
Please send me feedback, suggestions and improvements!
Thank you, and enjoy!
PS: Thanks to this forum

, that saved all this text youre reading right now (my cpu crashed when I was writing)