katman1971 Posted June 10, 2010 Posted June 10, 2010 Hi I want to show a number of video clips on my site. I dont want the customers to download the viseos. I want them to only have the ability to view them (play / pause / rewind / etc) The videos would sit on the server and the customers would stream the videos (I guess). how would I do this? I looked for a contribution but didn't see one.
NodsDorf Posted June 10, 2010 Posted June 10, 2010 Where do you want to put the videos? You should just be able to put the html code where you need it.. unless you want the customers to have to log in first then you'll need to do some coding to check if they are logged in.
katman1971 Posted June 10, 2010 Author Posted June 10, 2010 Where do you want to put the videos? You should just be able to put the html code where you need it.. unless you want the customers to have to log in first then you'll need to do some coding to check if they are logged in. I want to put it on the index page. Yes, I want customers to log in first. How eactly would I work it if customers have ot login first? I'm not that great with code. Would you recommend I build it in DW and copy the code over?
Hotclutch Posted June 11, 2010 Posted June 11, 2010 I want to put it on the index page. Yes, I want customers to log in first. How eactly would I work it if customers have ot login first? I'm not that great with code. Would you recommend I build it in DW and copy the code over? You don't need DW for this. Place the HTML code for the video where required on the homepage, then you can use a php if statement to show only for logged in users. Something like this if (tep_session_is_registered('customer_id'))
katman1971 Posted June 11, 2010 Author Posted June 11, 2010 You don't need DW for this. Place the HTML code for the video where required on the homepage, then you can use a php if statement to show only for logged in users. Something like this if (tep_session_is_registered('customer_id')) Does the same rule apply if I want this situation?: On my home page I'll have 20 video clips and anyone can watch the first 2 for free - they will not be able to click on the rest of the videos because they haven't signed up. If they sign up (username/password) they will be re-directed to another page (a duplicate of the first page except all the videos will be clickable)
Hotclutch Posted June 11, 2010 Posted June 11, 2010 Does the same rule apply if I want this situation?: On my home page I'll have 20 video clips and anyone can watch the first 2 for free - they will not be able to click on the rest of the videos because they haven't signed up. If they sign up (username/password) they will be re-directed to another page (a duplicate of the first page except all the videos will be clickable) Not sure how the coding for that will work to be honest, but it is quite easy to display only desired items to registered users with (tep_session_is_registered('customer_id'))
Recommended Posts
Archived
This topic is now archived and is closed to further replies.