Author Topic: Invalid file type !! -- flv  (Read 61774 times)

0 Members and 1 Guest are viewing this topic.

Offline Cimmerio

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Cartagena en Fotos
Re: Invalid file type !! -- flv
« Reply #30 on: April 14, 2007, 02:37:19 AM »
¿Como puedo cambiar el diseño del player.swf? ¿Hay algún tipo youtube o metacafe?

Saludos.

Offline mato72

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • Brick-Cinema
Re: Invalid file type !! -- flv
« Reply #31 on: August 03, 2007, 10:08:50 PM »
It dosn´t work in FireFox and Safari, but why?

I have an other website with exactly the same code (but no template, only html-site), and threre  it´s working...

Please help...

Ah, by the way:
Who know about that to create an Playlist?
Ok, basicly I would like to show an Pre-Spot when a user would like view "his" video...

Offline tzec

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Invalid file type !! -- flv
« Reply #32 on: February 19, 2013, 01:51:47 AM »
Saludos,,

Los ficheros FLV,, no se visualizan por si solos en la web,,, necesitaras un reproductor tanto para los FLV como para los FLA,,, que es el que estas intentando subir,,, y el que te da el error.

Primero,,, da de alta el nuevo tipo de fichero en el panel de control,, en la sección  : OPCIONES => CONFIGURACION DE IMAGENES Y ENVIO DE IMAGENES .

Segundo,,, abre : includes/upload_definitions.php

Localiza :

Quote
$mime_type_match['swf'] = array("application/x-shockwave-flash");

Añade debajo :

Quote
$mime_type_match['flv'] = array("application/x-shockwave-flash", "application/octet-stream", "video/flv");

Cerrar y guardar cambios.

Tercero,,,, crea una nueva plantilla con el siguiente código,, la nombras como flv.html,,,  y la subes a : templates/tus_plantillas/media/ :

Code: [Select]
<!-- Template file for FLV files -->

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="345" height="300">
<param name="movie" value="./data/player.swf?video=./.{media_src}&buffer=6">
<param name="quality" value="high">
<embed src="./data/player.swf?video=./.{media_src}&buffer=6" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="345" height="300">
</embed></object>

Cuarto,,, descarga este ZIP,, << >>  lo descomprimes,,, en el encontraras dos ficheros PLAYER.SWF y PLAYER.FLA y una imagen FLV.GIF que es el icono para suplir la falta de thumbnails.

Sube la imagen flv.gif templates/tus_plantillas/icons.

Sube los dos ficheros,, player.swf y player.fla dentro del directorio data

Para los ficheros tipo FLA es lo mismo pero cambiando la extensión

Creo que eso es todo,, espero que te sirva.

excitex2







no me funciona me pone esto cuando subo el archivo

Error uploading image file: Americano - Vacation in a Glass, by Royal Holiday(480p_H.264-AAC).flv
Americano_-_Vacation_in_a_Glass_by_Royal_Holiday480p_H.264-AAC.flv: Invalid file type (flv, video/x-flv)

No database entry!