All Questions
1,444 questions
0
votes
0
answers
61
views
Videos sent by PHP does not play on Safari
class VideotestPage
{
function __construct($params)
{
$videoFile = '../static/v/videotest.mp4';
if (file_exists($videoFile)) {
//Send the headers
...
0
votes
1
answer
538
views
Using FFMPEG and PHP to encode HLS video on the fly
I'm re-encoding a MP4 video to HLS using FFMPEG with PHP. I'm trying to then directly serve to the output to a HTML page's <video> tag. The following script (encode.php) encodes the video as I ...
-1
votes
1
answer
37
views
Replace urllib.request urlopen in PHP
I have a URL which can not download using video file using PHP. I have to run it ones in browser so that code can start downloading videos from it.
I have tried using curl, it fails to download video ...
0
votes
0
answers
28
views
Getting this error when I try to use video feature in WebSocket connection to 'wss://endpoint.twilio.com/' failed:
I'm using "Programmable Video" product to chat video call in my site using PHP.
When i try to connect with the video, i'm getting WebSocket connection to 'wss://endpoint.twilio.com/' failed: ...
0
votes
0
answers
293
views
Data URL of mp4 video on safari not playing any video content
I am trying to show mp4 video content on a html webpage, it works fine on Chrome but not playing on Safari.
Here is the code
<video autoplay muted loop controls playsinline id='videoDataURL'><...
0
votes
1
answer
101
views
Uploading a video to my YouTube account using YouTube API without requesting users permission
I am new with the YouTube API and I am trying to upload a recorded video from a website to my YouTube account through PHP. My issue seems to be with the OAuth acceptance to get a valid Access Token. ...
1
vote
1
answer
946
views
Convert large video files with php-ffmpeg
I have a very strange problem.
I need to convert video files by file resolution, for example, if the video file resolution is '1920x1080' then it must convert to 1080, 720, and 480 resolutions.
The ...
1
vote
2
answers
226
views
PHP only allow certain users access to video files in directory's
for my current project i need a folder that contains videos which should only be seeable for registered users, i know that i can block the access via .htaccess file but at least i dont exactly get ...
1
vote
0
answers
114
views
Get current video play time as a post response from php page
This is code for getting current video timing and sending to another php page
I want to call directly getvideotiming.php file and I want result as current video time'
below is the code
video.php
<...
1
vote
1
answer
77
views
youtube Video not downloading in mobile
In the php, youtube video is downloading fine on desktop, but on mobile its downloaidng with .html extension. Also when Downloading the video, it not shows filesize, How can I fix it please help...
&...
0
votes
0
answers
99
views
How to enable video forwarding?
I am having this simple code for playing a video in HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="...
0
votes
0
answers
167
views
Restrict AWS S3 bucket with specific domain
I am getting trouble with writing s3 bucket policy. I want to make my s3 bucket only available only for my domain. So basically
if a user is requested
from www.otherwebsite.com
the s3 file shouldn't ...
-1
votes
1
answer
63
views
Display video in view page
I am working on a simple basic crud, I am storing my registered users with a video.
the file type I am using is local, the registration goes on fine. but i can't seem to display and play my videos on ...
0
votes
0
answers
26
views
log onplay clicks into a database with multiple videos
I am trying to record the number of times a video is played and saving it into a database field on phpmyadmin to be used next time someone clicks the video, in order to keep a total number of times ...
0
votes
0
answers
73
views
video tag - log onplay clicks into a database
I am trying to record the number of times a video is played and saving it into a database field, to on phpmyadmin to be used next someone clicks the video, in order to keep a total number of times the ...