vikaspa Posted July 15, 2012 Share Posted July 15, 2012 Dear All need help in ajax-PHP i am using following code to display video. <a href="<?php echo $vrows['image1'] ; ?> " rel="vidbox" title="<?php echo $vrows['name']."<br>".nl2br($rows['detail']) ; ?>" id="m5"><?php echo $vrows['name'].$vrows['id'] ; ?></a> However using right click one can download the video (which client donot want to happen) I am thinking of using AJAX in following manner (this may be different so as to use AJAX) Note: I tried disabling of right click but it doesn't work chrome This is what i want to happen using AJAX on click the link will pass value of row id (INSTEAD OF FILE NAME) AND WE NEED TO open the video in videobox Quote Link to comment https://forums.phpfreaks.com/topic/265694-display-video-in-videobox-using-ajax/ Share on other sites More sharing options...
vikaspa Posted July 15, 2012 Author Share Posted July 15, 2012 Dear All Salute to this forum .... Please refer following link http://m2k-education.com/a001.php This link displays a video in videobox.js & videoboox.css The video file name is used in link ..on click the said video is opened up like 'lightbox' I want to avoid using video name in link instead want to pass the id of the video to ajax which will open up this video Can i do this ? Please please help Thanks in advance 18664_.php Quote Link to comment https://forums.phpfreaks.com/topic/265694-display-video-in-videobox-using-ajax/#findComment-1361643 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.