Skip to content

Commit

Permalink
Merge branch 'bodymovin:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
bokssssss authored Oct 22, 2021
2 parents 6b53b54 + 67f874b commit 219078f
Showing 282 changed files with 74,913 additions and 52,245 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# bodymovin-extension

Bodymovin UI extension panel

## Development

1. Setup AE for debugging extensions ([guide](https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_9.x/Documentation/CEP%209.0%20HTML%20Extension%20Cookbook.md#debugging-unsigned-extensions))
2. Install the [CEF client](https://github.com/Adobe-CEP/CEP-Resources/tree/master/CEP_9.x) you'll need for remote debugging
3. Install extension dependencies (`npm i`)
4. Install server dependencies (`cd bundle/server && npm i`)
5. Run `npm run start-dev`
6. Open the CEF client and navigate to `http://localhost:8092`

The extension window will now hot-reload and you can use the devtools in the CEF client.
8 changes: 8 additions & 0 deletions bundle/.debug
Original file line number Diff line number Diff line change
@@ -28,5 +28,13 @@

</HostList>
</Extension>
<Extension Id="com.bodymovin.bodymovin_server">
<HostList>

<!-- AfterEffects -->
<Host Name="AEFT" Port="8192" />

</HostList>
</Extension>
</ExtensionList>

27 changes: 0 additions & 27 deletions bundle/CSXS/manifest.xml
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
ExtensionBundleName="bodymovin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionList>
<Extension Id="com.bodymovin.bodymovin" Version="4.5.5" />
<Extension Id="com.bodymovin.bodymovin_server" Version="4.5.5" />
</ExtensionList>
<ExecutionEnvironment>
<HostList>
@@ -74,31 +73,5 @@
</UI>
</DispatchInfo>
</Extension>
<Extension Id="com.bodymovin.bodymovin_server">
<DispatchInfo >
<Resources>
<MainPath>./localserver.html</MainPath>
<CEFCommandLine>
<Parameter>--enable-nodejs</Parameter>
<Parameter>--mixed-context</Parameter>
<Parameter>--enable-media-stream</Parameter>
</CEFCommandLine>
</Resources>
<Lifecycle>
<AutoVisible>false</AutoVisible>
</Lifecycle>
<UI>
<Type>Custom</Type>
<Geometry>
<Size>
<Height>0</Height>
<Width>0</Width>
</Size>

</Geometry>
<Icons />
</UI>
</DispatchInfo>
</Extension>
</DispatchInfoList>
</ExtensionManifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 10 additions & 2 deletions bundle/assets/player/banner_template.html
Original file line number Diff line number Diff line change
@@ -41,9 +41,17 @@
lottie.loadAnimation({
container: document.getElementById('content_dc'),
autoplay: true,
loop: false,
loop: __LOOP__,
renderer: '__LOTTIE_RENDERER__',
path: '__FILE_PATH__'
__DATA_LOAD__,
rendererSettings: {
filterSize: {
width: '300%',
height: '300%',
x: '-100%',
y: '-100%',
}
}
})
.setSubframe(false)
</script>
4 changes: 2 additions & 2 deletions bundle/assets/player/demo.html
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
<head>
<style>
body{
background-color:#fff;
background-color:__[[BODY_BACKGROUND_COLOR]]__;
margin: 0px;
height: 100%;
overflow: hidden;
}
#lottie{
background-color:#fff;
background-color:__[[LOTTIE_BACKGROUND_COLOR]]__;
width:100%;
height:100%;
display:block;
Loading

0 comments on commit 219078f

Please sign in to comment.