Hi Everyone,
I understand that you can embed youtube videos with the new version of AppGini but I was wondering if there was any way to embed local videos.
We have a large library of company made training videos on a server and currently the users view them locally on the intranet and I would love to create a page with appgini that would allow that - we have the internet access pretty strict and uploading them to YouTube would mean giving access to everyone to view sites like YouTube in order for it to play since they need to authenticate to a firewall first. is it possible? Any help pointing me the right direction would be appreciated - Thanks
embed local video with new version
Re: embed local video with new version
You can store the video file name in your field and make some customizations to the generated code: You'll need to use a 3rd party video player and customize the templateDV file to wrap the player code around your field value. The exact code depends on the video player you choose. Here are some open source video players to try: http://flowplayer.org/ http://www.videojs.com/
We'll consider implementing this as a feature in future releases.
We'll consider implementing this as a feature in future releases.
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: embed local video with new version
Hi,
Is there any example on how to to integrate any of the above mentioned library within an appgini app ?
Thank you.
Chris
Is there any example on how to to integrate any of the above mentioned library within an appgini app ?
Thank you.
Chris
-
- Veteran Member
- Posts: 35
- Joined: 2014-06-04 13:18
Re: embed local video with new version
I found a work around. I loaded the videos onto my test server in the htdocs folder inside my project folder and created html codes to reference the video.
Here's the code for the html file.
<!DOCTYPE html>
<html>
<body>
<video width="400" autoplay>
<source src="video_file.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</body>
</html>
It plays in the browser in a new tab. You can look here for the options: https://www.w3schools.com/html/html5_video.asp
Here's the code for the html file.
<!DOCTYPE html>
<html>
<body>
<video width="400" autoplay>
<source src="video_file.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</body>
</html>
It plays in the browser in a new tab. You can look here for the options: https://www.w3schools.com/html/html5_video.asp