Video file in Media?

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Video file in Media?

Post by einmaku » 26 Nov 2021, 18:59

I uploaded in products/media a video file (mp4) but it doesn't show up in front end.
The same with a document (PDF) as Type: download

I work with Typo3 9.5.22 / Aimeos 19.10.4

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Video file in Media?

Post by aimeos » 29 Nov 2021, 09:04

This is supported since 2021.10 LTS.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Video / image file in text elements - URL not valid!?

Post by einmaku » 31 Jan 2022, 15:11

We upgraded now Aimeos for Typo3 to 21. 10. 3
There is now the option to insert media into text element in products.
When I set an URL of an image (which is uploaded into the file folder in Typo3) there is the error message
"This media URL is not supported"
So what kind of URL do I need to add for images (or videos) ?
Where do the medias be uploaded?
Thanks


Just for testing I tried to add an URL from Vimeo. It doesn't work neighter. See code below:

<p>
<strong>Lorem ipsum dolor sit amet,</strong>
</p>
<figure class="media">
<div data-oembed-url="https://vimeo.com/666351894">
<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;">
<iframe src="https://player.vimeo.com/video/666351894" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
</div>
</div>
</figure>
<p>

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Video file in Media?

Post by aimeos » 01 Feb 2022, 08:07

We use CKEditor 5 including some plugins as rich text editor and you can paste URLs into the text which are then automatically converted to <img> tags. There's also a plugin included (use the three dots to show all options) which can add video URLs to the text but this only works for YouTube out of the box due to Content Security Policy rules. Adapt the CSP rules to allow Vimeo too:
https://github.com/aimeos/aimeos-typo3/ ... dm.html#L7
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Video file in Media?

Post by einmaku » 08 Feb 2022, 13:45

Thank you for your info concerning adding URLs in text.
When I was implementing Aimeos I supposed to get a CMS which can be hadled without beeing a developer. I am really surprised that you add functionalities to CMS which do not work without adding or modifying coding.

BR
Marcel

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Video file in Media?

Post by aimeos » 08 Feb 2022, 17:17

Aimeos is for developers who want to adapt it to their needs. It contains a standard setup which fits for most cases but can not fit for every requirement out of the box without customization.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Video file in Media?

Post by einmaku » 10 Feb 2022, 14:44

HI,
Can you tell me how I can add the URL the way it is not "... out of the box".
In CMS / backend for products there is the "standard" option to add the URL. Now I am not sure how to add the URL the way that it is within the Aimeos standard setup, so that I do not need to coding.
Thank you.

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Video file in Media?

Post by aimeos » 10 Feb 2022, 16:38

This is all that is required to make it work and allow Vimeo as video source:
https://github.com/aimeos/aimeos-typo3/ ... b3f0d6d999

You can update your installation by executing:

Code: Select all

composer req aimeos/aimeos-typo3:2021.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Video file in Media?

Post by einmaku » 14 Feb 2022, 08:45

And where exactly do I have to add this code?

As I mentioned: it is not possible to handle CMS without beeing a developer. Can you pls tell me where I can find freelancers who can help me - also for correcting future errors in Aimeos?

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Video file in Media?

Post by einmaku » 13 Apr 2022, 15:21

Hello
I have a last Question to this matter.
What would you expect to transform the solution for uploading Video and PDFs into the product page(s) in question of time needed for implementation?
Thanks
Marcel

Post Reply