Hallo,
und wieder stehe ich vor einem Problem. Ich hatte mir ein Template von Themeforest gekauft und nu möchte ich die gleiche Litebox benutzen wie auf folgender Seite unter Shortcuts -> Media:
http://themeforest.net/item/squared-m…preview/2253084
In der Anleitung steh eine Kombination aus folgendem Code:
Code
[LIST=1]
[*] [B]Lightbox[/B]
Constructed: [lightbox media_type="" src="" href="" width="" height="" rollover_caption="" image_caption_title="" image_caption_content=""]
[TABLE="class: table-attr-values"]
[TR]
[TH]Attributes[/TH]
[TH]Possible values[/TH]
[/TR]
[TR]
[TD]media_type[/TD]
[TD]image, vimeo, youtube or flowplayer[/TD]
[/TR]
[TR]
[TD]src[/TD]
[TD]path to thumnail image[/TD]
[/TR]
[TR]
[TD]href[/TD]
[TD]url or id to image/video (only vimeo and youtube take ids)[/TD]
[/TR]
[TR]
[TD]width[/TD]
[TD]width of thumbnail in pixels[/TD]
[/TR]
[TR]
[TD]height[/TD]
[TD]height of thumbnail in pixels[/TD]
[/TR]
[TR]
[TD]rollover_caption[/TD]
[TD]caption that shows on rollover of thumnail, default is 'view image' or 'view video' depending on media type[/TD]
[/TR]
[TR]
[TD]image_caption_title[/TD]
[TD]title of caption(only available for images).[/TD]
[/TR]
[TR]
[TD]image_caption_content[/TD]
[TD]caption content(only available for images).[/TD]
[/TR]
[/TABLE]
[*] [B]Videos[/B]
Constructed: [video type="" src="" width="" height="" id="" class=""]
[TABLE="class: table-attr-values"]
[TR]
[TH]Attributes[/TH]
[TH]Possible values[/TH]
[/TR]
[TR]
[TD]type[/TD]
[TD]vimeo, youtube or flowplayer[/TD]
[/TR]
[TR]
[TD]src[/TD]
[TD]url or id of video (only vimeo and youtube take ids)[/TD]
[/TR]
[TR]
[TD]width[/TD]
[TD]width in pixels[/TD]
[/TR]
[TR]
[TD]height[/TD]
[TD]height in pixels[/TD]
[/TR]
[TR]
[TD]id[/TD]
[TD]player id[/TD]
[/TR]
[TR]
[TD]class[/TD]
[TD]_border_simple, _border_thick-1, _border_thick-2[/TD]
[/TR]
[/TABLE]
[/LIST]
Alles anzeigen
Das Overlay-Bild (transparente Animation) funktioniert. Aber das Video wird nicht angezeigt und auch nicht das Bild dazu.
Mein jetziger Code sieht woie folgt aus:
Code
[lightbox media_type="youtube" src="" href="https://www.youtube.com/watch?feature=player_detailpage&v=f8sYj2f-jpA" width="640" height="480" rollover_caption="view" image_caption_title="Paintball Trailer" image_caption_content=""]
Was mache ich falsch? In der Übersicht sieht man ja Litebox + Video. Also denke ich, dass man es irgendwie kombinieren muss. Nur wie?
Bin für jede Hilfe dankbar!