@phosart/common 0.4.28 → 0.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Image.svelte +1 -1
- package/package.json +1 -1
- package/src/lib/Image.svelte +1 -1
package/dist/Image.svelte
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
playsinline
|
|
116
116
|
use:onload
|
|
117
117
|
>
|
|
118
|
-
<source src={video} type="video/mp4" />
|
|
118
|
+
<source src={transformSrc(video)} type="video/mp4" />
|
|
119
119
|
</video>
|
|
120
120
|
{:else}
|
|
121
121
|
<picture style="background: {background}; aspect-ratio: {src.fallback.w} / {src.fallback.h};">
|
package/package.json
CHANGED
package/src/lib/Image.svelte
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
playsinline
|
|
116
116
|
use:onload
|
|
117
117
|
>
|
|
118
|
-
<source src={video} type="video/mp4" />
|
|
118
|
+
<source src={transformSrc(video)} type="video/mp4" />
|
|
119
119
|
</video>
|
|
120
120
|
{:else}
|
|
121
121
|
<picture style="background: {background}; aspect-ratio: {src.fallback.w} / {src.fallback.h};">
|