Unreal Media Server Forum Index Unreal Media Server
ATTENTION! THIS FORUM IS READ ONLY AS OF SEPTEMBER 1 2009.

PLEASE POST QUESTIONS TO OUR NEW FORUM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disable "Properties" option on web player

 
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Web publishing - ActiveX control and Cross-Browser plugin
View previous topic :: View next topic  
Author Message
AndrewBucklin



Joined: 28 Jan 2007
Posts: 7
Location: Yorktown, VA

PostPosted: Sun Jan 28, 2007 5:33 am    Post subject: Disable "Properties" option on web player Reply with quote

Is there any way to disable the PROPERTIES option when you right click on a video playing in Internet Explorer? I don't want the user to be able see the server's IP address that the content is being streamed from...

I've also disabled the user from viewing the source code of the page. I know this isn't fool proof, but for novice users, it's a start...
Back to top
View user's profile Send private message Visit poster's website AIM Address
tommybcool



Joined: 01 Sep 2006
Posts: 141
Location: Kansas

PostPosted: Sun Jan 28, 2007 4:33 pm    Post subject: Reply with quote

o.EnableContextMenu(false);

But your visitor loses sizing and video settings capability. You could get a domain from DynDNS so folks would not see your IP. You could even get a webhop from DynDNS that will convert user.example.com:5119 to user.differentexample.net and eliminate the port extension on the end. Of course people could ping your domain, but a software firewall can stop that I think. Probably a router too, haven't done it.
Back to top
View user's profile Send private message
tommybcool



Joined: 01 Sep 2006
Posts: 141
Location: Kansas

PostPosted: Sun Jan 28, 2007 4:40 pm    Post subject: Reply with quote

How did you disable source code?
Back to top
View user's profile Send private message
Admin
Site Admin


Joined: 04 Aug 2006
Posts: 488

PostPosted: Sun Jan 28, 2007 5:12 pm    Post subject: Reply with quote

"But your visitor loses sizing and video settings capability"

Not really. You just need to put your own buttons, kind of "skin" on the web page, which will call Video Settings, Size and other functions.
Besides, left mose doubleclick switches to Full Screen.

Example of web-skin:
http://www.ebrazilagency.com/clients/gfnet/

Admin
Back to top
View user's profile Send private message Send e-mail
tommybcool



Joined: 01 Sep 2006
Posts: 141
Location: Kansas

PostPosted: Sun Jan 28, 2007 7:10 pm    Post subject: Reply with quote

Admin wrote:
"But your visitor loses sizing and video settings capability"

Not really. You just need to put your own buttons, kind of "skin" on the web page, which will call Video Settings, Size and other functions.
Besides, left mose doubleclick switches to Full Screen.

Example of web-skin:
http://www.ebrazilagency.com/clients/gfnet/

Admin
So are codes like javascript:document.getElementById('player').ViewFullScreenSize();
found somewhere in the SDK? I rarely use full-screen because of the distortion choosing only to go to 200% max. And how would you do the video settings?
Back to top
View user's profile Send private message
AndrewBucklin



Joined: 28 Jan 2007
Posts: 7
Location: Yorktown, VA

PostPosted: Sun Jan 28, 2007 7:21 pm    Post subject: Reply with quote

tommybcool wrote:
o.EnableContextMenu(false);

But your visitor loses sizing and video settings capability. You could get a domain from DynDNS so folks would not see your IP. You could even get a webhop from DynDNS that will convert user.example.com:5119 to user.differentexample.net and eliminate the port extension on the end. Of course people could ping your domain, but a software firewall can stop that I think. Probably a router too, haven't done it.


Thanks! I'll look into that today... I really dont mind if the sizing and video settings options are lost, as long as the user can still double-click on the video to make it full screen... My only other thought was to see if it was possilbe to 'edit' that menu you get when you right click and remove the 'Properties' option all together, but I bet that would be a bit deeper that I want to go...

--As far as disabling the source code, I first disabled right-clicking, then I used a JavaScript thing to encode the code that points to my server's IP address, that way if they do manage to see the source code, it will be un-readable to the human eye. Not fool proof, I know, but for non-computer savy people, it works. Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address
AndrewBucklin



Joined: 28 Jan 2007
Posts: 7
Location: Yorktown, VA

PostPosted: Sun Jan 28, 2007 9:56 pm    Post subject: Reply with quote

After some trial and error, I figured out that this line of code:

o.EnableContextMenu(false); // Disable the Context Menu (no right-clicking on video)

goes under function Play(player). I placed it right under the o.UseFile line, in case anyone else tries to do this in the future and doesn't know where to put it.

--Now, back to my previous suggesstion/idea... --Would it be possible to disable/enable certian items on that Context Menu? --Like remove the 'Properties' option all together, but leave all the others? I don't know how hard this would be to do, but maybe this could be a suggestion for a future release...
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Web publishing - ActiveX control and Cross-Browser plugin All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group