WordPress LMS for Web and mobile › Forums › Ionic App Support › Video not playing on app
Android app is not playing videos that i upload on platform, it’s only playing youtube video but on web those videos are playing. Secondly App is not syncing courses offline, when i click sync data it then toast a message saying offline data cleared
Once you have open the course/unit it will added to offline storage After reopening same course/unit .It will fetch data from storage not from site.
You can check after disabling your network at the second time of opening.
For video refer this shortcode to embed your videos :https://gist.githubusercontent.com/shubham-99fusion/cb6149d2ba0d6e0b8ffa601f6c20f764/raw/0952a1fe2a3dfbeed4c4e491ce91352b78147e01/iframe%2520shortcode
Also you have to set unit type : video
I’m adding my videos from wordpress media and not youtube. Youtube plays but isn’t being cached offline. yet videos that i add using wp media they are not playing on mobile app
For video refer this shortcode to embed your videos:https://gist.githubusercontent.com/shubham-99fusion/cb6149d2ba0d6e0b8ffa601f6c20f764/raw/0952a1fe2a3dfbeed4c4e491ce91352b78147e01/iframe%2520shortcode
I have unit type set to video
share the error you get or you should send the screenshot. Because we have sent all the shortcodes through we will adding video in the app.
If the video is calling in the app but not playing in the app then it will be issue of rxjs so share the more specific details.