Jump to content

Recommended Posts

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

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/265694-display-video-in-videobox-using-ajax/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.