Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Runtime solution linking to hosted .mp4 files on the internet but streamed/played in webviewer

Featured Replies

Objective: Links from within the program to .mp4 files (audio and/or video) that are stored/hosted online and streamed to the webviewer inside the solution.

These are not embedded or contained in any webpage or media player. Just the raw files with a filepath to them. Is there a way to get those to play in the webviewer.

There are 9000+ of these files and creating a player or webpage for each is a daunting task needless to say. 

The idea is to keep the solution as small as possible (especially for mobile devices) so I don't think the container approach is the way to go.

Any thoughts or help would be GREATLY  appreciated.

Solved by comment

Go to solution
  • Solution
On 12/31/2022 at 6:51 PM, Blaze said:

Just the raw files with a filepath to them.

Can you show an example or two of such "filepath"? If the files are "stored/hosted online", then I would expect them to be accessible using a URL, not a file path. If the URL protocol allows free access to the files, then you could set your web viewer to something like:

Let (
html = "data:text/html;charset=utf-8, <html><body><video controls width='500'><source src='<URL>' type='video/mp4'>An error has occurred.</video></body></html>"
;
Substitute ( html ; "<URL>" ; YourTable::URLfield )
)

either by a button or by defining the web viewer's internal web address - depending on your preferred user interface. 

This will place an embedded media player in your web viewer and load it with the video whose URL is stored in URLfield.

 

  • Author

That looks very promising bcooney! Thanks very much. I've signed up for their trial and am in contact with them to see if I can initially get past their 3000 monthly file upload limit.

And yes, I know that runtimes are a deprecated feature, but still doable.

Thank you "comment" Grand Master. That was a great solution. It was what was needed.

This is how I had it set up

Let ([data = GetAsURLEncoded ( WebViewURLFullScreen )];"data:text/html,"& "<html><head>"& "<style type=\”text/css\”>body {font-family: ‘Arial’ ;font-size: .9em ;padding:0px;   margin:0px;width: 100%;}    </style></head>"& "<body>" &data& "</body></html> 

Which really did not provide the play parameters. Thank you so much both of you. I think that gets me past the roadblock.

Edited by Blaze

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.