You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to play a video from back4app. I can get the data off video (138365 bytes)). Is it possible to use this library to play the video?
let cell: VideoTableViewCell = tableView.dequeueReusableCell(withIdentifier: "VideoTableViewCell") as! VideoTableViewCell
var query = PFQuery(className:"Videos")
query.getObjectInBackground(withId: "kDBJQ8hFCK") { (parseObject, error) -> Void in
let videoFile = parseObject!["Question"] as! PFFileObject
videoFile.getDataInBackground { data, error in
//cell.playerView.loadVideoURL("")
}
return cell
}
The text was updated successfully, but these errors were encountered:
SamSundar1
changed the title
How to play a video from a data?
How to play a video from a data?I am trying to play a video from back4app. I can get the data off video (138365 bytes)). Is it possible to use this library to play the video? let cell: VideoTableViewCell = tableView.dequeueReusableCell(withIdentifier: "VideoTableViewCell") as! VideoTableViewCell var query = PFQuery(className:"Videos") query.getObjectInBackground(withId: "kDBJQ8hFCK") { (parseObject, error) -> Void in let videoFile = parseObject!["Question"] as! PFFileObject videoFile.getDataInBackground { data, error in //cell.playerView.loadVideoURL("") } return cell }
Sep 6, 2021
SamSundar1
changed the title
How to play a video from a data?I am trying to play a video from back4app. I can get the data off video (138365 bytes)). Is it possible to use this library to play the video? let cell: VideoTableViewCell = tableView.dequeueReusableCell(withIdentifier: "VideoTableViewCell") as! VideoTableViewCell var query = PFQuery(className:"Videos") query.getObjectInBackground(withId: "kDBJQ8hFCK") { (parseObject, error) -> Void in let videoFile = parseObject!["Question"] as! PFFileObject videoFile.getDataInBackground { data, error in //cell.playerView.loadVideoURL("") } return cell }
How to play a video from a data? I have my code at the comment.
Sep 6, 2021
I am trying to play a video from back4app. I can get the data off video (138365 bytes)). Is it possible to use this library to play the video?
let cell: VideoTableViewCell = tableView.dequeueReusableCell(withIdentifier: "VideoTableViewCell") as! VideoTableViewCell
var query = PFQuery(className:"Videos")
query.getObjectInBackground(withId: "kDBJQ8hFCK") { (parseObject, error) -> Void in
let videoFile = parseObject!["Question"] as! PFFileObject
videoFile.getDataInBackground { data, error in
//cell.playerView.loadVideoURL("")
}
return cell
The text was updated successfully, but these errors were encountered: