Jump to content

1 video file display


IndianaGuy

Recommended Posts

Thank you all for giving your time to help the new guy :-).

 

I am looking for an easy way to display and play 1 video file. The file name will based on a variable taken from the link

example

 
// the link is www.mysite.com/exposure/index.php?story=Tony
 
$Exposure=$_GET[story];
 

I need the page to have a video box where the user can hit play and it will play the video named "Tony" from my "videos" folder. Can this be done easily?

 

Two quick side questions;

1) Can the "videos" folder be set to private where no one can go to www.mysite.com/videos and see ALL the videos at once?

 

2) Will my page be mobile friendly?

 

Thank you

Edited by IndianaGuy
Link to comment
Share on other sites

let me answer your questions first :

1) Can the "videos" folder be set to private where no one can go to www.mysite.com/videos and see ALL the videos at once?

 

if you have access to your Apache Configuration file you can prevent directory listing and you can also use .htaccess file to prevent that .

 

2) Will my page be mobile friendly?

 

it depends on your CSS , is your template mobile friendly ?

 

as for the easy way to share your video on your website try to upload the video on youtube and display it on the page ,

 

Good luck .

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...