tombalfoort
Gebruiker
- Lid geworden
- 25 sep 2006
- Berichten
- 386
Hallo allemaal ik wil een aantal vidoe's op me site zetten maar die zijn flash en ook windows media player.
Ik heb de volgende code gemaakt:
Maar zou ik 'application/x-shockwave-flash' dan kunnen veranderen via de zelfde manier als het plaatsen van de youtube link en titel?
Gr Tom :thumb:
Ik heb de volgende code gemaakt:
PHP:
<?php
$route = array(); $naam = array();
$route['tape1'] = 'http://www.youtube.com/v/Re1XEmjNG6c'; $titel['tape1'] = 'Bob Sinclar - Rock This Party';
$route['tape2'] = 'http://www.youtube.com/v/-iXahMekSBA'; $titel['tape2'] = 'Bob Sinclar - Love Generation';
$route['tape3'] = 'http://www.youtube.com/v/yv0n2t9xs80'; $titel['tape3'] = 'Bob Sinclar ft Cutee B - Sound Of Freedom';
if ( !isset($route[ $_SERVER['QUERY_STRING'] ]) )
{
print '<a title="index.php?tape1" href="?tape1">ERROR 404, klik hier om naar de eerste videoclip te gaan </a><BR>';
exit;
}
$url = $route[ $_SERVER['QUERY_STRING'] ];
$titel = $titel[ $_SERVER['QUERY_STRING'] ];
?>
Linken plaatsen van Youtube flash filmpje
<?php echo $url; ?>
Titel van Filmpje
<?php echo $titel; ?>
Maar nu heb ik deze code voor de flash (met het plaatsen van youtube code)
<object width="425" height="350">
<param name="movie" value="<?php echo $url; ?>"></param>
<param name="wmode" value="transparent"></param>
<embed src="<?php echo $url; ?>" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
Gr Tom :thumb:
Laatst bewerkt: