Installing JW Player or other third party controls
Hi,
I just installed Siteifnity 4.0 and been able to create site/pages etc.
I wanted to install JW player as Sitefintiy 4 still not support videos other then wmv(which is very surprising).
But when i look in the web.config, i see a completely different web.confign then it used to be in earlier version e.g. 3.x.
I am not sure what steps i need to follow to integrate this contorl.Or will JW player be working in 4.0 or not?
A Quick help will be appreciated.
Hi Pankaj,
JW player is java script based player and it does not require registration in the web.config. You can add the script inside the root of you project and use its methods like setup(), start() in the context of a user or custom control with a template.
Greetings,
Ivan Dimitrov
the Telerik team
In my previous post i was refering about thhe following
www.sitefinity.com/.../longtail-jw-media-player.aspx
In its readme file it says
1) Extract the zip and copy the contents of the "Longtail FW Player"
folder to the top level of your website.
(I did this)
2) Add the following line to your "<toolboxControls>" node of
web.config
<add name="Longtail JW Media Player" section="ipObjects" url="~/ipObjects/UserControls/MediaPlayer.ascx"/>
(Not able to find this)
3) Download and/or purchase the Longtail JW player from
http://www.longtailvideo.com/players/jw-flv-player and place the
.swf in the ~/ipObjects/UserControls/MediaPlayer folder. Name the
file player-licensed.swf if you want to use the default property
values.
(I did this)
I have videos in flv,swf formtat, and need to store and show them.
Hi Pankaj,
This forum thread is for Sitefinity 4.0 related questions. In Sitefinity 4.0 adding a custom controls is documented here. If you use Sitefinity 3.x you should enable real file extensions.
Kind regards,
Ivan Dimitrov
the Telerik team
Thanks!
My question is related to sitefinity 4.0 issue only only.
I am finally able to see the control in the list by modifying toolboxcontrol.config file and adding one more section and tag in that.
But still i am not able to see that in the widget(module) list.
What do i need to do to see that in the control list , so that i can drag and drop the same in a page.
In 3.x i was very easliy able to do this, but somehow 4.0 looks more complicated to me.
code that i added in toolboxcontro.config
<toolbox name="CustomViewer" title="CustomViewerTitle" description="CustomViewerDescription" resourceClassId="CustomViewerResources">
<sections>
<add name="VideoViewer" title="VideoViewer">
<tools>
<add type="~/ipObjects/UserControls/MediaPlayer.ascx" name="Longtail JW Media Player" title="VideoViewer" description="VideoViewer" layoutTemplate="~/ipObjects/UserControls/MediaPlayer.ascx" moduleName="VideoViewer" section="ipObjects" url="~/ipObjects/UserControls/MediaPlayer.ascx" />
</tools>
</add>
</sections>
</toolbox>
attached are the screens that i see in policy window (I can see control there now) and edit page window (i cant see control there).
Hi Pankaj,
1. Remove LayoutTempalte and ModuleName if you do not have a custom module
2. The control should appear in VideoViewer section you have created, since your screenshot shows the ContentToolBox section.
Best wishes,
Ivan Dimitrov
the Telerik team
Thanks!
This is longtail jw player, available in sitefinity marketplace.
http://www.sitefinity.com/marketplace/modules/longtail-jw-media-player.aspx
Waiting for response.
Hi Pankaj,
Sitefinity 4.0 architecture is different from this one used in Sitefinity 3.x editions. You cannot use controls compiled against assemblies from Sitefinity 3.x editions in Sitefinity 4.0 project.
JW Player is a third party javascript library and it should work in Sitefinity 4.0. By default this external library should be added to the folder in your project root and you have to create a custom or user control where you use JW Playermethods like setup(), start()
Sincerely yours,
Ivan Dimitrov
the Telerik team