embed local video with new version

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
mjt1234567890
Posts: 5
Joined: 2015-05-01 20:03

embed local video with new version

Post by mjt1234567890 » 2015-06-11 18:33

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

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: embed local video with new version

Post by a.gneady » 2015-06-20 14:17

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.
:idea: 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.

cachris
Posts: 1
Joined: 2015-08-30 18:59

Re: embed local video with new version

Post by cachris » 2015-08-30 19:48

Hi,

Is there any example on how to to integrate any of the above mentioned library within an appgini app ?

Thank you.
Chris

omackeytech
Veteran Member
Posts: 35
Joined: 2014-06-04 13:18

Re: embed local video with new version

Post by omackeytech » 2017-03-14 01:35

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

Post Reply