See video from deck or card view

Hi All,

I made a class checklist for students to visualize class activities and swipe left or right to complete or skip each activity.

I would like to find a way for the student to easily view a video of each activity without too many clicks. That’s why I m interested having the video right from the deck or card view. Did anyone have done something similar?

Thanks!

Are you hosting your video/recording you wish to show on Youtube ? or hosted by other app?

YouTube for now. Eventually hosting as well in the future. Thx.

why don’t you create action linktoview with key value to open up detail views where your YouTube recording is saved as show type column? And set this action fired from deck view when user select or slide right or left or even inline action? Then they jump to detail view where the related YouTube is instantly available.

Yeah. I was trying to see if I could save some clicks and have it right from the inline view.

What would be nice is clicking on the inline action and have the video plays right away. Also have the detail view in a popup because I think that when I go back, I will lose the initial page vertical position. I have also encountered issue to get the video size bigger. The user has to click on the Youtube video but when he comes back on the app, a sync is triggered…

If you prefer to stay with deck view, then I suggest that you set the action fired to “row selected”, but you can place as action button at the right bottom corner of each line item for deck view.
How to trigger the action, it is upto your decision and at your convenience.

We are not able to resize the thumbnail of youtube recording which appears on the Appsheet detail view. In any case, app user need to click the screen on detail view once.

If you really want to set the youtube “autoplay” i.e. upon opening Detail view on Apphsheet, then you add parameter to YouTube URL.

?autoplay=1

Add this string to the end of your URL.

By doing this, Youtube recording will be started automatically upon opening detail view after prompted from deck view by action.

Try it out.

4 Likes

Unfortunately it doesn’t work in detail view.

ezgif-3-027763bcf0ad

Just released a sample app here.

See carefully how the youtube URL is constructed.

As additional feature which you may find useful, I added fields to generate the thumbnails out of the target youtube recording automatilly and render it as static image within App.

1 Like

https://www.appsheet.com/samples/Displaying-videos-in-your-app?appGuidString=84797979-2aa1-4ef9-b605-82ac60cff032

1 Like

Thanks @tsuji_koichi The video doesn’t autoplay on my side.

ezgif-3-8789c89d40e1

On my side, it works on the browser, not sure why it wont on your side.
This ?autoplay=1 seems only to work on the browser, as it wont be auto-played on the mobile appsheet app.

This is all what I know.

1 Like

Got it. Just curious, it’s the first time I see a gif working on an app. Was it because you enter an external link? I tried to upload gif as image, video or thumbnail but wasn’t able to display it correctly.

Gif files must be hosted in other cloud place rather than appsheet.

1 Like