Is it possible to create a hyperlink for a video?

I am dealing with video search algorithm. When i get a list of names of videos from the database which have matched with query video, I want it to display that video by clicking of the name of video. Is it possible to do this using hyperlink? Please need help on this. Thank you in advance

Answers (3)

Where yhould the hyperlinks appear? In the command window or in a figure, in a created PDF file?
Where should the video be displayed? By Matlabs movie command or in an external viewer?

1 Comment

After sorting the video file names, i made it to appear in uitable. If the user click on the name of the video, the video must play in the axes provided in GUI figure. Is it possible to do? Our else if you can suggest me some other way..... Please help me

Sign in to comment.

2 Comments

I have tried the examples shown in the above link. It include simple operation and then displays it in command window. My requirement is displaying the hyperlinks in uitable and when the link is clicked ,it should start playing a video from my folder. Is it possible to do sir?
Yes, no problem. You just have to include the HTML wrapper on every string. See for example http://www.mathworks.com/matlabcentral/answers/25038-how-to-change-each-cell-color-in-a-uitable

Sign in to comment.

You can create strings, which looks like hyper links in an uitable:
a = uitable('Data', {'<HTML><a href="matlab:disp(clock)">clock</a>', 'b'; ...
'c', 'd'})
But this does not evaluate the command. So you have to catch this in the CellSelectionCallback, such that the command to display the image is started from there.

Tags

Asked:

on 6 Jun 2015

Answered:

Jan
on 7 Jun 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!