I just uploaded the new version of the Object Tag. Since it´s been tested and used on production sites, I will list some benefits you can achieve on using it, and I´ve added a really special feature that´s 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.
It´s 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.
I´ve 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 you´re using and/or want with to be WAI Accessibility Standards Compliant, you should use something like:
Code: Select all
{object src='uploads/movie.swf' height='300' width='300' param='quality::low||bgcolor::#ffffff' alt='Alternative content'}
Code: Select all
{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}
Let´s go further, let´s send some data to flash via flashvars!
Ok, to do this, let´s organize the job! First we need to add a new content block to the template, and let´s assign the contents to a variable. Put this somewhere on you template.
Code: Select all
{content block='flashvars' assign='flashvars' wysiwyg='false'}
Code: Select all
text=This text is dynamic, provided from CMSMS!&text2=More dynamic text
Code: Select all
{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) we´re sending to flash.
Download flash player link.
{object close=1}
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.br
There 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% ... ita.com.br
All 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. It´s 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 you´re reading right now (my cpu crashed when I was writing)