Closed darkovac closed 7 years ago
@darkovac Video seems to be working in this example - https://glitch.com/edit/#!/cloudinar-angular-sdk-video
Can you please reproduce in an online tool such as Glitch or share the source code for creating the video?
Aha, probably these attributes are a key:
poster='{ "cloud-name": "cloudinary", "gravity": "north", "start-offset": "28", "transformation": [{"effect": "sepia", "fetch_format": "auto"}]}'
source-transformation='{ "webm": { "quality": "70"}, "mp4": { "overlay": "text:verdana_30:Greetings!" } }'
fallback-content="Your browser does not support HTML5 video tags"
We were doing it by example in readme:
<cl-video cloud-name="my_other_cloud" public-id="watchme" secure="true" class="my-videos">
<cl-transformation overlay="text:arial_60:watchme" gravity="north" y="20"></cl-transformation>
</cl-video>
I'll try to with your example when I get time for that, we created quick fix by implementing our component.
@darkovac I updated the glitch sample to use the same component you posted in the last comment, and added controls="true"
to use the native browser video controls, and it works as expected:
<cl-video cloud-name="demo" public-id="dog" secure="true" controls="true" class="my-videos">
<cl-transformation overlay="text:arial_60:watchme" gravity="north" y="20"></cl-transformation>
</cl-video>
If your problem persists please open a ticket with Cloudinary support at https://support.cloudinary.com/hc/en-us
Generated html seem to be wrong:
Debugged cloudinary-video.component.ts:
in line 62 videoTag.content() returns:
in line 64 videoTag.attributes() returns: