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

Réponses (3)

Jan
Jan le 6 Juin 2015

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Walter Roberson
Walter Roberson le 6 Juin 2015

0 votes

2 commentaires

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

Connectez-vous pour commenter.

Jan
Jan le 7 Juin 2015
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

Community Treasure Hunt

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

Start Hunting!

Translated by