Is it possible to create a hyperlink for a video?
Show older comments
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)
Jan
on 6 Jun 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 Comment
DIVYA RAIBAGKAR
on 7 Jun 2015
Walter Roberson
on 6 Jun 2015
0 votes
2 Comments
DIVYA RAIBAGKAR
on 7 Jun 2015
Walter Roberson
on 7 Jun 2015
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
Jan
on 7 Jun 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.
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!