Добавяне на Flash Video поддръжка в IP.Gallery
Добавяне на Flash Video поддръжка в IP.Gallery с помоща на JW FLV Media Player
1. Изтеглете JW FLV Media Player
License: Free for non-commercial use:
You must buy a commercial license if:
1. Your site has any ads (AdSense, display banners, etc.)
2. You want to remove the players' attribution (eliminate the right-click link)
3. You are a corporation (governmental or nonprofit use is free)
2. Качете файловете от JW FLV Media Player, следвайки инструкциите, в "readme.html".
3. Във Admin CP -> tab "Components" - > IP.Gallery -> Media Manager - Custom Media Types -> Add New Media Type въведете:
Icon: win_player.gif
Media Title: FLV Video
Mime Type: application/x-shockw
Media Extension: .flv
Allow this type to be submitted? - yes
Display Code:
<center><embed src="http://yourdomain.com/path.to.player/mediaplayer.swf" width="400" height="300" allowscriptaccess="always" allowfullscreen="true" flashvars="height=300&width=400&file={FILE}&enablejs=true&autostart=true&showcontrols="true"" /></center>
Това е всичко!
Може да модифицирате по-горния код според нуждите ви от тук:
http://www.jeroenwijering.com/?page=wizard, но обърнете внимание на последния ред от примерния код:
flashvars="height=300&width=400&file={FILE}&enablejs=true&autostart=true&showcontrols="true""
Текстът в червено следва да указва как да инициирате с плейъра прикачения файл.
Забележка:
За въпросната категория, в която активирате FLV поддръжката е нужно следната настройка да е активирана:
Allow multi-media submissions?
Източник: Моя милост
0 Коментара
Препоръчани коментари
Все още няма коментари.