I shall do my best
Would you be able to give me some pointers on what you did to get the list of videos in that repeating group. This will help bring my MVP to the finish line.
Thank you very much!
If I could ask you take a look at the demo, you’ll probably figure it out since I’m working on some other stuff right now. In the editor, find the GroupFocus element called “GroupFocus E”
Look at the text field in their called “Text stats” and hopefully you’ll see the requests I’ve made.
I’m just manipulating the data that’s all.
I’ve added a simple graph which overlays on top of the Wistia videos for you in the demo page.
It uses a cool graph plugin called “simple linechart from apexcharts”.
Air Line Chart Lite Plugin | Bubble
The data is correct, it shows engagement data for my three videos for how many times they were played and re-watched. My formatting is probably a little messed up but it should give you a place to start so I hope it helps somewhat.
If you use your API key on the demo page and get all your engagement data to show, can you screenshot it for me! I wouldn’t mind seeing what real data looks like other than my own which isn’t great.
That looks great! Of course I will take a screenshot so you can see what the graph looks like with live data. I appreciate you getting this to work for me.
Great, no probs and thanks.
Are you storing any of the engagement data or Wistia urls?
Nope, just getting it using the request and that’s it.
I have no need to store it in the demo.
Ahh okay. The current data I’m getting from Wistia is from the API Connector. I believe with VideoJS Advanced you developed the Stats API into the plugin? I’m just trying to figure out where I need to add my API key.
Directly in the request itself.
Look for “Get data from an external API” and you’ll see them listed.
So the work I need to do I believe is going to be different from yours. I need to be able to store the video_id as I mentioned yesterday so when a user logs in they see their video on the insights page with stats and engagement. On the admin side within the repeating group is where I will add my api key and the video id. The video id is what will be stored to the database. I’m just wondering now that I think about it how will the correct stats show.
Ok, so all that seems doable. To show the correct stats for the current user who is logged in, you just need to run up the API request, pass in your API key and whatever the Wistia video id you want the data to show for and that should be it. Are you struggling to store the Video id? if so, you can get all the video id’s from the request as shown below. I believe the “hashed_id” field are the video ids. I’ve just noticed that I hardcoded my API key into some of those requests on the demo page so if you try it again, you should see all your videos appear!
I’m able to get the input of the video_id to save to the data type “founder video id”. I’m just now trying to figure out how to tie it all together.
Hello,
I have subscribed to your plugin and it is very good.
Several issues:
1: On my app after about 2 seconds there is a video playing in front of the user for introduction. I have tried using your autoplay functionality and it does not seem to always work, randomly it decides to now function with the inspection error :
“uncaught in promise DOMexception: play() failed because user didn’t interact with document first”
I also tried to use the play pause functionality on page load which creates unpredictable errors aswell such as pause operation plays the video. Im guessing it has something to do with the first interaction thing.
2: Is there any option to enable play pause on video click? because when I try to do it it seems not to do it. Basically I would like to have a play button centered in the middle of the screen(horizontally and vertically) when the video is not playing and otherwise not have anything at all(no buttons too) is that possible?
Thanks!!
Hi @tomerlan5
Sorry about the probs there, you’ve obviously caught something I’ve missed and it sounds like the actions are attempting to run before the element/video is fully loaded. I’ll send you a PM and get that fixed for you.
Paul is amazing, Thanks for the support wonderful plugin!
Too kind!
Hopefully the fix did it’s job!
Paul,
I’ve read through this entire thread and I’m impressed by your work ethic sir. Absolutely amazing.
I unfortunately have encountered a problem that doesn’t seem to be an issue for anyone else, which means as a noobie I’m likely doing something wrong.
I have disabled video controls and turned off full screen mode to keep mobile browsers from circumventing in the controls in full-screen mode. In all the mobile browsers it works flawlessly. My videos play and pause, but there is no way to advance through them like you could a normal video player (grabbing the progress icon and advancing the video to the end).
I recently wrapped my Bubble web app through Code Academy and I ensured that the app is in portrait mode only with the expressed intention to avoid allowing users to advance through videos. As soon as the play button is pushed in the iOS app it pops into full screen and enables the video controls.
Do you have a workaround for this, or is there any advice you can give?
Thanks,
~James
Hi James,
Thanks, I bet that kept you amused for some time reading all that! it took a while.
Would it be ok if I asked for your web app link? you can send a PM if you prefer. I can load it through my iPhone then and take a look at how it’s acting. It shouldn’t be popping straight into full screen mode, but if I can see it in action then I can probably figure out what’s going on there.
I’m curious, if you load the demo site (https://paul-testing-4.bubbleapps.io/web_videos) through your iPhone, do you see the same behaviour?