Giter VIP home page Giter VIP logo

hh_video_extender's People

Contributors

dependabot[bot] avatar iocron avatar teisi avatar

Watchers

 avatar  avatar  avatar

hh_video_extender's Issues

How could I get the preview image with its metadata via dataProcessing?

Hello together,
to output image credits at the end of a page, I use the following code for ce textmedia:

`lib.photocredits = FLUIDTEMPLATE
lib.photocredits {

[...]

dataProcessing {

Bildnachweis: CE Textmedia

10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
  table = tt_content
  where.data = field:uid
  orderBy = sorting
  as = myrecords
  dataProcessing {
   10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
   10 {
     references.fieldName = assets
     as = image
   }
 }

}
}

Fluid-Ausgabe:
<f:media file="{image}" width="150" height="150c" class="image"/>
{image.properties.copyright}`

This works for videos and images and would need to add the preview image to it.
I hope someone can help me with this.

Thanks a lot
Ulli

Dependency problem with TYPO3 10

Hi,

just stumbled over a dependency problem with hh-video-extender, where I cannot update because there is no ^10.4.99 of TYPO3:

  • hauerheinrich/hh-video-extender 0.1.62 requires typo3/cms-core ^9.5.0 || ^10.4.99 -> found typo3/cms-core[v9.5.0, ..., v9.5.24] but it conflicts with your root composer.json require (^10.4).

So

• typo3/cms-core: ^9.5.0 || ^10.4.99
• typo3/cms-fluid: ^9.5.0 || ^10.4.99
• typo3/cms-fluid-styled-content: ^9.5.0 || ^10.4.99
• typo3/cms-frontend: ^9.5.0 || ^10.4.99

should be

• typo3/cms-core: ^9.5.0 || ^10.4.0
• typo3/cms-fluid: ^9.5.0 || ^10.4.0
• typo3/cms-fluid-styled-content: ^9.5.0 || ^10.4.0
• typo3/cms-frontend: ^9.5.0 || ^10.4.0

I guess.

Greetings

Several errors regarding FileReference class extended

This line:
https://github.com/Hauer-Heinrich/hh_video_extender/blob/master/ext_localconf.php#L23
has no effect, as there is no TYPO3\CMS\Core\FileReference class, but a class TYPO3\CMS\Core\Resource\FileReference

The class Classes/Resource/FileReference.php is wrong as well. Line https://github.com/Hauer-Heinrich/hh_video_extender/blob/master/Classes/Resource/FileReference.php#L11 should extend \TYPO3\CMS\Core\Resource\FileReference and not TYPO3\CMS\Core\FileReference (note that backslash that it should be at the beginning).
Besides that, the class contains an unknown method $this->initStorageObjects() over line https://github.com/Hauer-Heinrich/hh_video_extender/blob/master/Classes/Resource/FileReference.php#L28

Can't update extension to 1.6 because of wrong version tag 1.51?

Hi,

I wanted to update the extension to v1.6 (from 1.51) via composer but this didn't work.
"Nothing to Install" was the answer.

$ ddev composer update hauerheinrich/hh-video-extender
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Setting up TYPO3 environment and extensions.

I guess that happend because version 1.51 is higher than version 1.6 and so composer thinks that I already have the newest version? I think the correct version would have been version 1.5.1 or newer versions have to continue with version 1.52, ...

Another question I have: Will TYPO3 10.4 LTS be supported?

[Error] Undefined array key "hh_video_extender"

Describe the bug

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "hh_video_extender" in /app/vendor/hauerheinrich/hh-video-extender/ext_localconf.php line 8

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "hh_video_extender" in /app/vendor/hauerheinrich/hh-video-extender/Configuration/TCA/Overrides/sys_template.php line 8

Environment:

  • TYPO3 12.4.1
  • PHP 8.2
  • hh_video_extender 0.2.0

Additional context
Problem with PHP 8.2

Fix
change
if ($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]['config']['typoScript'] === '0') {
in ext_localconf.php line 8 and sys_template.php line 8 to
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]) && $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$extensionKey]['config']['typoScript'] === '0') {

preview image for html5 video is not shown in frontend

Hi,

I wanted to include some videos and I added a preview_image for each video. The poster attribute with the image is not rendered, it's missing.

Can someone confirm this issue?

I use TYPO3 9.5.13 and the latest version of the hh_video_extender.

[Feature] add subtitle support

Hi,

it seems that webm does not support embeded subtitles into a webm file. Therefor you have to use external subtitles which can be added to a <video>-tag with a <track>-tag.

Is it possible to add subtitle support for videos?
Info: https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery/Adding_captions_and_subtitles_to_HTML5_video

For example, save the subtitle in the same folder (or a subfolder which has to be configured) and load it into the code. The same function you use to add other video formats like webm, ogg.

Only questions remain:

How do you add multiple subtitles for different languages?

This would be a solution:
clip-name.en.vtt
clip-name.de.vtt
clip-name.fr.vtt

How to define the default subtitle?
There exists a default attribut which indicats to the browser that this is the default subtitle file definition. How to define that so that it works for multilanguage?

I thought about adding the default option to the filename to indicate that this is the default subtitle, like this clip-name.de.default.vtt. Problem: Does this work when the CE was translated into another language? On a French website the default subtitle schould be in French as well. (Of course the user can change the subtitle in the frontend, so maybe that would be a minor issue.)

A better way would be to list all available subtitles for a videofile in the backend and the editor can choose the default subtitle. But not sure if that is possible?

Missing poster images under TYPO3 v12 in the frontend

Hi, I haven't noticed it myself, but poster images assigned in the backend are no longer outputting in the frontend.
Can you confirm this and how exhausting is a fix?

Thanks a lot
Ulli

TYPO3 v12:
<video playsinline="" width="600" controls="" no-cookie="" class="video-embed-item" preload="metadata"><source src="/media/Videos/ar-expo.mp4" type="video/mp4"></video>

TYPO3 v11:
<video playsinline="" width="600" controls="" no-cookie="" class="video-embed-item" preload="metadata" poster="/media/Videos/poster-DR-kurzfilm.jpg"><source src="/media/Videos/ar-expo.mp4" type="video/mp4"></video>

TYPO3:

  • Version 12.4.7
  • container 2.3.1
  • content_defender 3.4.1

Additional context
PHP 8.1

TYPO3 12 compatibility

Hey!
Just wanted to ask if you plan to support TYPO3 v12 and if yes if you got a time plan for that?

Thanks a lot!

composer install error

Hi

I got the following error when I tried to install the extension on TYPO3 9.5.13 via composer:

bash-4.2$ composer req hauerheinrich/hh-video-extender
Using version ^0.1.5 for hauerheinrich/hh-video-extender
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for hauerheinrich/hh-video-extender ^0.1.5 -> satisfiable by hauerheinrich/hh-video-extender[0.1.5].
    - hauerheinrich/hh-video-extender 0.1.5 requires fluid_styled_content ^9.5.0 || ^9.9.99 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

When I used "@dev" as version constraint, it worked.

bash-4.2$ composer req hauerheinrich/hh-video-extender:@dev
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing hauerheinrich/hh-video-extender (dev-master 58ad109): Cloning 58ad109007
Writing lock file

Not sure if that is an actual error or if this is the normal behaviour because the extension is labeled as "beta"?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.