How to display video from SQL database
Posted: Tue May 05, 2020 6:21 pm
I have video displaying from a file but want to display directly from the database. Anyone known if this can be done?
My code that works using HTML_AREA is
where htmlVideo is used as the dataProvider.
I was hoping to do something like
where "video" is my column that holds the video that was previously uploaded. But, this does not work.
Thanks,
My code that works using HTML_AREA is
- Code: Select all
var htmlVideo = '<video width=640" height="640" controls> <source src="movie.mov" type="video/mp4">Your browser does not support the video tag.</video>';
where htmlVideo is used as the dataProvider.
I was hoping to do something like
- Code: Select all
var htmlVideo = '<video width=640" height="640" controls> <source src=%%video%% type="video/mp4">Your browser does not support the video tag.</video>';
where "video" is my column that holds the video that was previously uploaded. But, this does not work.
Thanks,