Skip to main content

arkit_plugin_puftpalkim 1.5.0 copy "arkit_plugin_puftpalkim: ^1.5.0" to clipboard
arkit_plugin_puftpalkim: ^1.5.0 copied to clipboard

PlatformiOS

Fork of arkit_plugin with gapless, native AVQueuePlayer/AVPlayerLooper video looping for ARKit video materials.

arkit_plugin_puftpalkim #

A fork of arkit_plugin (source) 1.5.0, used by the PuftPalkim app.

The Dart API is unchanged from upstream arkit_plugin 1.5.0 — see the upstream README and API docs for usage.

Why this fork exists #

The only change is in the iOS native implementation of ARKitMaterialProperty.video(...). Upstream builds the video material from a one-shot AVPlayer (via SKVideoNode(url:) / SKVideoNode(fileNamed:)), which has no native loop — looping it from Dart (remove/re-add the node, or toggle visibility) causes a visible stutter or a black-flash at every restart.

This fork builds the video material from an AVQueuePlayer paired with an AVPlayerLooper, which is Apple's own mechanism for gapless native looping. Looped video materials now loop with no visible seam.

This is packaged as an independent, renamed pub.dev package (rather than a dependency_overrides entry) because the consuming project is built with FlutterFlow, whose dependency model only supports adding a dependency by pub.dev package name + version — it has no field for a git/path source.

License #

MIT, same as upstream. See LICENSE — original copyright notice preserved per the MIT license's terms.

0
likes
140
points
629
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fork of arkit_plugin with gapless, native AVQueuePlayer/AVPlayerLooper video looping for ARKit video materials.

Topics

#ar #arkit

License

MIT (license)

Dependencies

flutter, json_annotation, meta, vector_math

More

Packages that depend on arkit_plugin_puftpalkim

Packages that implement arkit_plugin_puftpalkim