{ "json_version": "2.2.0.0", "resource": { "video": [ { "id": "v1", "name": "第一段视频(58同城)", "path": "/sdcard/wbvideo_res/demo1.mp4" } ], "image": [ { "id": "1", "path":"/sdcard/wbvideo_res/adr8.jpg" }, { "id": "2", "path":"/sdcard/wbvideo_res/bcsls.jpg" }, { "id": "3", "path":"/sdcard/wbvideo_res/bjd.jpg" }, { "id": "4", "path":"/sdcard/wbvideo_res/bmi8.jpg" }, { "id": "5", "path":"/sdcard/wbvideo_res/bsj911.jpg" }, { "id": "6", "path":"/sdcard/wbvideo_res/lbjn.jpg" }, { "id": "7", "path":"/sdcard/wbvideo_res/lslshy.jpg" }, { "id": "8", "path":"/sdcard/wbvideo_res/msld.jpg" } ] }, "timeline": { "stages": [ { "name": "FrameStage", "id": "1", "resource_type": "image", "resource_id": "1", "timeline": { "base": "timeline", "from_end": false, "start_point": "0", "length":"2000" } }, { "name": "VideoStage", "id": "2", "resource_type": "video", "resource_id": "v1", "start_point": "0", "length":"2000", "timeline": { "base": "stage1", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "3", "resource_type": "image", "resource_id": "3", "timeline": { "base": "stage2", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "4", "resource_type": "image", "resource_id": "4", "timeline": { "base": "stage3", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "5", "resource_type": "image", "resource_id": "5", "timeline": { "base": "stage4", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "6", "resource_type": "image", "resource_id": "6", "timeline": { "base": "stage5", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "7", "resource_type": "image", "resource_id": "7", "timeline": { "base": "stage6", "from_end": false, "start_point": "1500", "length":"2000" } }, { "name": "FrameStage", "id": "8", "resource_type": "image", "resource_id": "8", "timeline": { "base": "stage7", "from_end": false, "start_point": "1500", "length":"2000" } } ] }, "actions": { "video_actions": [ { "name": "LayoutAction", "id": "1", "timeline": { "base": "stage1", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "1", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,0,0.15] } ] } } ] }, { "name": "LayoutAction", "id": "2", "timeline": { "base": "stage2", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "2", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,0,-0.15] } ] } } ] }, { "name": "LayoutAction", "id": "3", "timeline": { "base": "stage3", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "3", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,0.15,0] } ] } } ] }, { "name": "LayoutAction", "id": "4", "timeline": { "base": "stage4", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "4", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,-0.15,0] } ] } } ] }, { "name": "LayoutAction", "id": "5", "timeline": { "base": "stage5", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "5", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,0.15,0.15] } ] } } ] }, { "name": "LayoutAction", "id": "6", "timeline": { "base": "stage6", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "6", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,-0.15,0.15] } ] } } ] }, { "name": "LayoutAction", "id": "7", "timeline": { "base": "stage7", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "7", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,0.15,-0.15] } ] } } ] }, { "name": "LayoutAction", "id": "8", "timeline": { "base": "stage8", "from_end": false, "start_point": "0", "length": "100%" }, "inputs":[ { "type": "stage", "id": "8", "animation": { "scale":[ { "value_size": 2, "keys": [0,2000], "values":[1.2,1.2,1.35,1.35] } ], "translation":[ { "value_size": 2, "keys": [0,2000], "values":[0,0,-0.15,-0.15] } ] } } ] }, { "name": "LayoutAction", "id": "1to2", "timeline": { "base": "action2", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "2" }, { "type": "action", "id": "1", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "2to3", "timeline": { "base": "action3", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "3" }, { "type": "action", "id": "2", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "3to4", "timeline": { "base": "action4", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "4" }, { "type": "action", "id": "3", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "4to5", "timeline": { "base": "action5", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "5" }, { "type": "action", "id": "4", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "5to6", "timeline": { "base": "action6", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "6" }, { "type": "action", "id": "5", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "6to7", "timeline": { "base": "action7", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "7" }, { "type": "action", "id": "6", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] }, { "name": "LayoutAction", "id": "7to8", "timeline": { "base": "action8", "from_end": false, "start_point": "0", "length": "500" }, "inputs":[ { "type": "action", "id": "8" }, { "type": "action", "id": "7", "animation": { "alpha":[ { "keys": [0,500], "values":[1,0] } ] } } ] } ] } }