Jump to content

Wie ein Video als Intro für Webseite einbinden?


Lordbuck

Empfohlene Beiträge

Wer kann helfen?

 

Ich habe für eine Webseite basierend auf Joomla 3.0 und einem Template PhPBB ein Video zunächst als Rohmaterial in Cinema 4D (avi unkrompremiert) erstellt. Das AVI ist in Premiere mit Ton versehen worden und in FLV umgewandelt.

 

Nun wollen wir das ca 1Min. Vodeo vor die Webseite setzten, so dass beim Aufruf der eigentlichen Website zunächst das Video läuft und automatisch nach Ende auf die Seite wechselt. Das Video sollte mit Skip, Play, Stop versehen sein.

 

Wie macht man das? Wäre um jeden Rat sehr dankbar.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Den Script habe ich soweit mit Scip erstellt.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0014)about:internet -->

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Unbenanntes Dokument</title>

<style type="text/css">

<!--

body {

background-color: #000000;

}

.Stil1 {

font-family: "BankGothic Md BT";

font-size: 24px;

font-weight: bold;

color: #FFFF00;

}

.Stil2 {

color: #0000FF;

font-size: 14px;

}

body,td,th {

color: #000000;

}

.Stil3 {color: #000000}

.Stil4 {color: #0000FF}

-->

</style>

<script type="text/javascript">

function MM_CheckFlashVersion(reqVerStr,msg){

with(navigator){

var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);

var isWin = (appVersion.toLowerCase().indexOf("win") != -1);

if (!isIE || !isWin){

var flashVer = -1;

if (plugins && plugins.length > 0){

var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";

desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;

if (desc == "") flashVer = -1;

else{

var descArr = desc.split(" ");

var tempArrMajor = descArr[2].split(".");

var verMajor = tempArrMajor[0];

var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");

var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;

flashVer = parseFloat(verMajor + "." + verMinor);

}

}

// WebTV has Flash Player 4 or lower -- too low for video

else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

 

var verArr = reqVerStr.split(",");

var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

 

if (flashVer < reqVer){

if (confirm(msg))

window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";

}

}

}

}

</script>

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

</head>

 

<body onload="MM_CheckFlashVersion('8,0,0,0','Für den Inhalt dieser Seite ist eine neuere Version von Adobe Flash Player erforderlich. Möchten Sie sie jetzt herunterladen?');">

<div align="center" class="Stil3">

<p class="Stil4"> </p>

<p> </p>

<p> </p>

<p align="center">

<script type="text/javascript">

AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','1024','height','576','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLVVideoFlash&autoPlay=true&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code

</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1024" height="576" id="FLVPlayer">

<param name="movie" value="FLVPlayer_Progressive.swf" />

<param name="salign" value="lt" />

<param name="quality" value="high" />

<param name="scale" value="noscale" />

<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLVVideoFlash&autoPlay=true&autoRewind=true" />

<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=FLVVideoFlash&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="1024" height="576" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />

</object></noscript>

</p>

</div>

<p align="right" class="Stil1">

<a href="http://gfbg-clan.de/index.php?option=com_content&view=frontpage&Itemid=1" target="_top" class="Stil2">skip intro</a></p>

 

</body>

</html>

Jetzt fehlt noch die automatische Weiterleitung nach dem Ende des Videos. Wer weiss wie das geht???

Link zu diesem Kommentar
Auf anderen Seiten teilen

Archiviert

Dieses Thema ist jetzt archiviert und für weitere Antworten gesperrt.

  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...