Refresh the page without reloading the entire app

Hi All,

I am showing youtube video with a specific start and end time using Youtube url parameters (ex: https://www.youtube.com/embed/dcqxiFfd27Y?start=170&end=175 )

The problem is that once the video portion is over, the user canโ€™t easily reload the video at the specific start and end time. The user is forced to watch the video from the beginning. Iโ€™ve spent a lot of time to try to solve this with the youtube parameters (ie: loop, autoplay parameters) but youtube doesnโ€™t allow it. There are proposed solutions online but they donโ€™t work anymore:


As a workaround, I simply added a field below the video to simulate a page refresh by having a LINKTOROW() to the same record. It works but the user can use that trick only once. Appsheet doesnโ€™t allow to redirect to the same page twice.

3X_5_e_5e70ed3444f016c95a2740141f29c379778e2e89.gif

Any idea how I can โ€œreloadโ€ the page more than once so the user can see again the exact video portion?

Thank you!

Solved Solved
0 4 707
1 ACCEPTED SOLUTION

Please explore if following workaround helps.

Point to note: I tested it in a test app on detail view with a video type field, however not exactly starting the video at a specific point. So the suggestion below may or may not work in the app set up you have. Also the back button in header (<โ€“) may keep going back to detail views if one has iterated many times on the same record. However the suggestion definitely addresses part of LINKTOROW() working multiple times on the same record.

Approach: If your system detail view is called say โ€œVideoShow_Detailโ€, then have another detail view copied from this detail view and name it say โ€œVideoShow_Detail 2โ€

Build two different LINKTOROW() actions to each of the above 2 detail views. In each action conditions, have CONTEXT(โ€œViewโ€) alternating on these two views. CONTEXT (โ€œViewโ€)=โ€œView 2โ€ for first action and CONTEXT (โ€œViewโ€)=โ€œViewโ€ for second action.

View solution in original post

4 REPLIES 4

Please explore if following workaround helps.

Point to note: I tested it in a test app on detail view with a video type field, however not exactly starting the video at a specific point. So the suggestion below may or may not work in the app set up you have. Also the back button in header (<โ€“) may keep going back to detail views if one has iterated many times on the same record. However the suggestion definitely addresses part of LINKTOROW() working multiple times on the same record.

Approach: If your system detail view is called say โ€œVideoShow_Detailโ€, then have another detail view copied from this detail view and name it say โ€œVideoShow_Detail 2โ€

Build two different LINKTOROW() actions to each of the above 2 detail views. In each action conditions, have CONTEXT(โ€œViewโ€) alternating on these two views. CONTEXT (โ€œViewโ€)=โ€œView 2โ€ for first action and CONTEXT (โ€œViewโ€)=โ€œViewโ€ for second action.

Thanks @Suvrutt_Gurjar. Will give it a try.

That works. Thank you @Suvrutt_Gurjar !

Great to know that Alex. Thank you for the update.

Top Labels in this Space