Mobile Kit Pro and "Medium Trust"

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/21/2011 4:07:12 AM
Gravatar
Total Posts 6

Mobile Kit Pro and "Medium Trust"

Hi

I would like to try the Mobile Kit Pro but reading the product details notes it seems that I could have some problems making the kit working because my site is hosted and run in "Medium Trust" with .NET Version 3.5 . My mojo installation has only one site created.

Could you please :

1. confirm if the kit will work or not in my environment ?

2. is it possible to customize the supplied skin for example for changing colors and fonts, ecc ?

In anticipation of your answer , thank you very much .

Giorgio

 

 

9/21/2011 6:50:40 AM
Gravatar
Total Posts 18439

Re: Mobile Kit Pro and "Medium Trust"

Hi Giorgio,

Sorry but it won't work in medium trust under .NET 3.5. It will work in full trust under .NET 3.5 or it will work in any trust level under .NET 4. So if you are stuck with .NET 3.5 medium trust you should not buy Mobile Kit Pro.

The reason is because Mobile Kit Pro relies heavily on a custom theme.skin file and under .NET 3.5 we cannot make it load the skin file from the skin folder. See the bottom of the article Understanding the theme.skin File for more information about it.

The best solution would be to change to .NET 4 hosting and update to the .NET 4 package of mojoPortal. .NET 4 has been out for a long time now and eventually we will drop support of .NET 3.5 in mojoPortal.

Best,

Joe

2/6/2012 7:36:25 AM
Gravatar
Total Posts 6

Re: Mobile Kit Pro and "Medium Trust"

 

Hi Joe . I migrated my site to NET 40 and I bought and installed the Mobile Kit . The MP release is 2.3.7.6 ; the skin I use is a modification of artisteer31-alphamotors skin . I use the JPlayer Audio & Video feature with no problem with this skin and release. For the Mobile Kit I use the related mobilekit_v1 skin , where on the opposite the Jplayer doesn't work properly ; only the "textual" versions of the control buttons are displayed, no video frame is displayed and the audio video is not audible/visible . Is it a matter of using a non compatible skin for the mobile version ? and are there any workaround or modification I can apply ?

Thank you for your support .

 

Giorgio

 

2/6/2012 9:03:59 AM
Gravatar
Total Posts 18439

Re: Mobile Kit Pro and "Medium Trust"

Hi Giorgio,

Mobile Kit Pro was released before we had the audio and video players. You'll need to add this to the style.comnfig in your copy of Mobile Kit skin:

<!--
<file cssvpath="/Data/style/jplayer/allskins.css" imagebasevpath="/Data/style/jplayer/">none</file>
<file cssvpath="/Data/style/jplayer/bluemonday/jplayer.blue.monday.css" imagebasevpath="/Data/style/jplayer/bluemonday/">none</file>
<file cssvpath="/Data/style/jplayer/pinkflag/jplayer.pink.flag.css" imagebasevpath="/Data/style/jplayer/pinkflag/">none</file>
-->
<file cssvpath="/Data/style/jplayer/bluemonday/jplayer.phone.css" imagebasevpath="/Data/style/jplayer/bluemonday/">none</file>

You may also want to upgrade to mojoPortal 2.3.8.1 because there was a fix in the video feature that affected some browsers.

Your mileage may vary when using the audio and video players on mobile, in my testing it works somewhat but there are some glitches. There may be problems on mobile if there is more than one jPlayer on the page so only use one instance on a page. Also only certain video format like .m4v work on IOS.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.