imspeedy
Forum Replies Created
-
Same problem. I believe it happened with the last plugin update.
The solution was to log in through the instructor’s account and change the photo through the profile. But doing it directly through the users section in WordPress was much more practical.
- This reply was modified 4 months, 1 week ago by imspeedy.
Hello @urnafiz ,
Thanks for your reply!
I was able to successfully use the Tutor LMS Course API to create lessons, set the lesson titles, and assign them to the correct topics via script.
However, I’m currently facing an issue: when I try to add embedded videos (Google Drive links inside
<iframe>tags), the video doesn’t show up in the lesson, and the video duration is not saved either.I’m sending the payload like this:
“video”: {
“source”: “embedded”,
“source_embedded”: “<iframe src=”https://…’width=’100%’ height=’480′></iframe>”,
“runtime”: {
“hours”: “00”,
“minutes”: “05”,
“seconds”: “00”
}
}
Could you please clarify the correct way to add an embedded video and set its duration when using the lesson creation API?Thanks!