Paul J wrote:
mw wrote:
so it *does* appear that it is dropping the mp3-template and using the final_default
I'll ponder that one...
I just tried what you suggested: I pasted my mp3-template into final_default (keeping a copy of that one) and yes, it works! So at least I have a short-term solution. Thanks for your all your help. I really appreciate it.
Paul
Perhaps a better solution would be:
Create a "Userdefined1" field which holds two values; "mp3" and "flv"
assuming you have two Players, one called "Mp3Player" and another called "VideoPlayer"
each one will have a userdefined field of "mp3" or "flv"
Then in your template instead of:
Code: Select all
<object type="application/x-shockwave-flash"data="{$item->parent_object->location}" width="{$item->parent_object->width}"height="{$item->parent_object->height}">
<param name="movie"value="{$item->parent_object->location}" />
<param name="FlashVars" value="mp3=http://yoursite.com/uploads{$item->mediafile}{$item->parent_object->parameters}"/>
<param name="wmode"value="transparent" />
</object>
you will have:
Code: Select all
<object type="application/x-shockwave-flash"data="{$item->parent_object->location}" width="{$item->parent_object->width}"height="{$item->parent_object->height}">
<param name="movie"value="{$item->parent_object->location}" />
<param name="FlashVars" value="{$item->parent_object->userdefined1_namevalue}=http://yoursite.com/uploads{$item->mediafile}{$item->parent_object->parameters}"/>
<param name="wmode"value="transparent" />
</object>
note the above: {$item->parent_object->userdefined1_namevalue}.in place of mp3 (or flv)