Jump to content

Upload mp4/avi videos as attachment and display as embedded


LDDG

Recommended Posts

It blows my mind that this is something not included with IPS out of the box.

I simply need the ability to be able to upload a mp4 or avi video file when creating an article with IP. Content. Once the article is published, I need that video file to be displayed as a streaming video, where the user simply clicks the play button and watched the video. Just how youtube videos can be embedded but instead of a youtube video, it's a video that was uploaded as an attachment.

Please PM me if interested. Money is not an issue as long as it's reasonable and it can do exactly what we need.

Link to comment
2 hours ago, newbie LAC said:

Custom field with type Upload

"Display View Format" -> Custom -> use html tag video

What do you mean by "use html tag video" ? I created a new upload input box and in the box named DISPLAY CUSTOM FORMAT, I have no idea what to enter.

Thanks!

Link to comment

Something like this works …

<video src="{file='$formValue' extension='cms_Records'}" autoplay controls style="width:100%">
  Sorry, your browser doesn’t support our video player. 
</video>

There is no guarantee though, that every use can play the video. It’s just offering that one file format in that one HTML video declaration. 

What video sites like YouTube and Vimeo are doing is SO much more than just pushing an uploaded video through. But the typical shared hosting setups IPS-sites run on can’t handle that at all. They aren’t meant for processing gigabytes of video data. So it’s actually not mind-blowing, that IPS doesn’t offer much video capabilities.  

 

Link to comment
3 hours ago, opentype said:

Something like this works …


<video src="{file='$formValue' extension='cms_Records'}" autoplay controls style="width:100%">
  Sorry, your browser doesn’t support our video player. 
</video>

There is no guarantee though, that every use can play the video. It’s just offering that one file format in that one HTML video declaration. 

What video sites like YouTube and Vimeo are doing is SO much more than just pushing an uploaded video through. But the typical shared hosting setups IPS-sites run on can’t handle that at all. They aren’t meant for processing gigabytes of video data. So it’s actually not mind-blowing, that IPS doesn’t offer much video capabilities.  

 

Ok, but then how does software such as Wordpress provide so many video capabilities via plugins?

I run IPS on a dedicated server along with a Cloudflare setup. I should be able to upload a video to our server and be able to serve it without much fuss. It was EASILY done with Wordpress but ever since we migrated to IPS, it seems like it's the most complicated thing in the world to do.

Anyhow, I will give your solution a try.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...