- Posts: 3
 
COMMUNITY FORUM
Disable Save As Video When Playing
- Fadli
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		
			
	
						7 years 10 months ago				#166088
		by Fadli
	
	
		
			
	
			
			 		
													
	
				Disable Save As Video When Playing was created by Fadli			
			
					Please Log in or Create an account to join the conversation.
- Krikor Boghossian
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						7 years 10 months ago				#166110
		by Krikor Boghossian
	
	
		
			
	
			
			 		
													
	
				Replied by Krikor Boghossian on topic Disable Save As Video When Playing			
			
				Hello,
These are the browser's default controls. Unfortunately you cannot disable them.
					These are the browser's default controls. Unfortunately you cannot disable them.
Please Log in or Create an account to join the conversation.
- Fadli
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 3
 
			
	
						7 years 9 months ago				#166154
		by Fadli
	
	
		
			
	
			
			 		
													
	
				Replied by Fadli on topic Disable Save As Video When Playing			
			
				Hi Admin,
I can disable save as by disable right click for now, I know can't 100% prevent other to protect not to download, at least I can make more harder to get my videos.
But, although I can disable right click, by pressing F12 in keyboard, I can get video url easily, then paste video url directly, the video can automaticly played > right clik > save as..
It's there anyway to prevent / avoid some one play video directly, or to hide video url.
Is there opensource video streaming based on PHP can do that? so I can store video separately from my joomla web app.
Regards,
Fadli.
					I can disable save as by disable right click for now, I know can't 100% prevent other to protect not to download, at least I can make more harder to get my videos.
But, although I can disable right click, by pressing F12 in keyboard, I can get video url easily, then paste video url directly, the video can automaticly played > right clik > save as..
It's there anyway to prevent / avoid some one play video directly, or to hide video url.
Is there opensource video streaming based on PHP can do that? so I can store video separately from my joomla web app.
Regards,
Fadli.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						7 years 9 months ago				#166179
		by Krikor Boghossian
	
	
		
			
	
			
			 		
													
	
				Replied by Krikor Boghossian on topic Disable Save As Video When Playing			
			
				I am not sure this can be achieved, anyone who can view your site's code can see the links towards the video files.			
					Please Log in or Create an account to join the conversation.
- Fadli
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 3
 
			
	
						7 years 9 months ago				#166184
		by Fadli
	
	
		
			
	
			
			 		
													
	
				Replied by Fadli on topic Disable Save As Video When Playing			
			
				Dear All,
For now, I just add some script .htaccess under video root directory :
It gives me error 404 when accessed directly from browser, but the web still can play the video.
Regards,
Fadli.
					For now, I just add some script .htaccess under video root directory :
RewriteEngine On
RewriteCond %{REQUEST_URI} \.(mp4|mp3|avi)$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example.com/.*$ [NC]
RewriteRule ^.* - [F,L]It gives me error 404 when accessed directly from browser, but the web still can play the video.
Regards,
Fadli.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						7 years 9 months ago				#166216
		by Krikor Boghossian
	
	
		
			
	
			
			 		
													
	
				Replied by Krikor Boghossian on topic Disable Save As Video When Playing			
			
				Nice one :)
Kudos. Don't forget to add other extensions like m4v, ogg etc
					Kudos. Don't forget to add other extensions like m4v, ogg etc
Please Log in or Create an account to join the conversation.