AV Player (Audio Video Player module)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
mw
Forum Members
Forum Members
Posts: 159
Joined: Mon Aug 25, 2008 8:38 pm

Re: AV Player (Audio Video Player module)

Post by mw »

try replace {$root_url} with {$smarty.server.SERVER_NAME}
depending on your hosting provider and php version one or the other should work
boder
Forum Members
Forum Members
Posts: 18
Joined: Tue Dec 09, 2008 4:24 pm

Re: AV Player (Audio Video Player module)

Post by boder »

MW, thanks!

My problem is solved! :-))

For others with the same problem, my final_default script is now:

Code: Select all

<h3>{$item->name}</h3>
{if $item->mediafile != ""}<p>{$labels->mediafile}: <a href="{$item->mediafile->url}">{$item->mediafile->filepath}</a> ({$item->mediafile->size_wformat})</p>{/if}

{if $item->picture != ""}<p>{$item->picture->image}</p>{/if}

<p>{$labels->userdefined2}: {$item->userdefined2_namevalue}</p>

<object type="application/x-shockwave-flash"data="{$item->parent_object->location}" width="{$item->parent_object->width}"height="{$item->parent_object->height}"><br />
<param name="movie"value="{$item->parent_object->location}" /><br />
<param name="FlashVars" value="{$item->parent_object->playertype_namevalue}=http://{$smarty.server.SERVER_NAME}/uploads{$item->mediafile->filepath}{$item->parent_object->parameters}"/><param name="wmode"value="transparent" /></object>

{$breadcrumbs}

{$item->name}
Boder.
Post Reply

Return to “Modules/Add-Ons”