Skip to main content
Question

stream quickbase video file attachment

  • May 29, 2019
  • 0 replies
  • 238 views

I'm working on adding a custom button that will be present in a embedded record, and when this button is clicked, it will open a pop up and stream the video attachment in that same record.

I'm having issues with having the click event tracking the embedded button, and the actual notation for the source link for the video.

any help would be greatly appreciated.

Thanks in advance.

AdamKeever1
Forum|alt.badge.img+2
  • Registered
  • July 13, 2019
You can use the iframe technique from the magic buttons app.

create a formula rich text field, [iframe], and give it the following code:
"<video src = " & URLRoot() &"up/"& Dbid() &"/a/r"& [Record ID#]&"/e9/v0\" width=\"500\" controls>\n</video>"

substitute the 9 in 'e9' for the field ID# of your attachment field.




create a report link field, [link], and set the field relationship as follows:


In my example the app name is QB Developer Resources and the table name is Tests; set the relationship to match your app and table name.

Next add the link field to your form and it will display the video and the user can play the video on the form.




This function also works for your table views (here both videos were playing simultaneously):



  • Author
  • Registered
  • July 15, 2019
Hey Adam, yes those will work to have the video/file/image showing in a field...
My usage isn't in an actual itself, but actually shows as a pop up when the button is clicked.