форум vBSupport.ru > vBulletin > vBulletin 3.8.x > Хаки, моды и скрипты 3.8
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
artscripts
Эксперт
 
artscripts's Avatar
Default DJ's AME (Auto-Media Embedding) Definitions for the JW Player
2

Источник http://www.vbulletin.org/forum/showthread.php?t=238021

From the guy who brought you cheap knock-offs of other people's stuff, comes even more knock-offs of other people's stuff.

AME Definitions for the JW Player

========================================

IMPORTANT - PLEASE READ
This is an add-on for The Geek's AME - The Automatic Media Embedding System. Which means if you don't know what an AME CP is, you can't install these definitions.

========================================

What This Is
If you have The Geek's AME - The Automatic Media Embedding System installed, then you likely already have some or all of my massive collection of media definitions: DJ's AME (Auto Media Embedding) XML Media Definitions (Delta Edition). This is one more definition for that collection. However, it's special. So special it needs it's own thread. Read below to find out why.

The JW Player
The JW Player is a customizable player distributed for free by Long Tail Video. It's Open Source and has a number of skins and plugins to make it fit perfectly with the look and feel of your site. The latest version of the player let's you customize a skin using just images and an XML file, without really needing to know anything about coding or flash. That and the many other features available in the player makes this invaluable to many webmasters.

AME Integration
While the JW Player cannot be implemented to work with the entire set of AME definitions, it can, however, be made to work with YouTube and WMV files. I'm releasing this definition for YouTube first, and later on I'll add a definition for Silverlight (WMV).

Screenshots


Live Demo
Don't let the demo fool you. You can only use one skin per definition. But changing the skin in the definition will only change the skin in new posts, not old ones (as you can see here.) Old posts will need to be resaved. I'm currently using the Schoon skin. (Periodically, I have to turn the demo off so I can work on the regular YouTube definition.)


Installation
If you already have the JW Player installed on your website, then all you really need to do is skip to the Step 3 and configure the URLs to point to the right locations.

Download the JW Player from Long Tail Video.com. Unzip the contents and upload the .SWF, .JS, .FLV and .YT files to a folder in your forum root named videos. (Obviously, if you don't have that directory, create it.)
Download a skin for the player from their Skin Library. (You can create your own later. Just pick something nice for right now.) Unzip the contents and add the .SWF file to your videos directory.
Delete your existing YouTube definition. (Just YouTube, folks. Don't go crazy deleting everything that has the word YouTube in it.)
Download the Attachment 113875 file and import it into your AME CP.
Either during import or after, configure the URLs in your new YouTube definition to point to the correct locations. Three URLs highlighted in red here, currently point to my website, so change those. Also change the name of the skin file, in blue here, if your not using Schoon.


Code:
    <script type='text/javascript' src='http://www.cogonline.net/forums/videos/swfobject.js'></script> 
    <script type='text/javascript'> 
    var s1 = new SWFObject('http://www.cogonline.net/forums/videos/player.swf','player$p1','$ameinfo[width]','$ameinfo[height]','9'); 
    s1.addParam('allowfullscreen','true'); 
    s1.addParam('allowscriptaccess','always'); 
    s1.addParam('flashvars','file=$ameinfo[url]&skin=http://www.cogonline.net/forums/videos/schoon.swf&image=http://img.youtube.com/vi/$p1/0.jpg'); 
    s1.write('preview$p1'); 
    </script>

For more information on the wealth of things you can do with the JW Player, please visit their website and read up on all the goodies.

Known Issues
The JW Player posts via JavaScript, and as you you know, JavaScript doesn't display inside AJAX functions. This means you won't see the video if you post via Quick Reply or if you've edited the post inline. However, your the only one who will see it that way. It will display normal for everyone else, and will display again the next time you reload/refresh the page. I've setup a notification for this when it's posted alongside the message that notifies a user who needs to upgrade their Flash Player.

Also, vBadvanced. I can't reiterate this enough times. Set your character count high enough, or stop trying to get videos to show in the modules. Otherwise, there won't be enough room to display all the code of the video, and the code will get truncated.

One other thing. Whenever you upgrade AME or re-install it, you get your default definitions back. So please, check your definitions before you start posting that you're getting two YouTube videos in a post. This was covered in the last two threads' FAQ section.
Attached Thumbnails
JW Player Preview 2.png  
Attached Files
File Type: xml JW Player (YouTube).xml (1.4 KB, 6 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 07:29 PM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.