PluginProbe ʕ •ᴥ•ʔ
Presto Player / 2.2.2
Presto Player v2.2.2
4.3.1 4.3.0 4.2.4 4.2.3 4.2.2 4.2.0 4.2.1 trunk 1.10.0 1.10.1 1.10.2 1.11.0 1.12.0 1.13.0 1.14.0 1.14.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.13 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.9.0 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3-beta1 2.3.0 2.3.1 2.3.2 2.3.3 3.0.0 3.0.0-beta1 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.1.0 3.1.1 3.1.2 3.1.3 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4
presto-player / src / admin / blocks / store / player / actions.js
presto-player / src / admin / blocks / store / player Last commit date
actions.js 4 years ago controls.js 5 years ago index.js 5 years ago reducer.js 2 years ago resolvers.js 4 years ago selectors.js 4 years ago
actions.js
186 lines
1 export function setPresetLoading(value) {
2 return {
3 type: "SET_PRESET_LOADING",
4 value,
5 };
6 }
7
8 export function setVideosLoading(value) {
9 return {
10 type: "SET_VIDEOS_LOADING",
11 value,
12 };
13 }
14
15 export function setProModal(value) {
16 return {
17 type: "SET_PRO_MODAL",
18 value,
19 };
20 }
21
22 /**
23 * Videos
24 */
25 export function setVideos(value) {
26 return {
27 type: "SET_VIDEOS",
28 value,
29 };
30 }
31 export function updateVideos(value) {
32 return {
33 type: "UPDATE_VIDEOS",
34 value,
35 };
36 }
37 export function appendVideos(value) {
38 return {
39 type: "APPEND_VIDEOS",
40 value,
41 };
42 }
43 export function addVideo(value) {
44 return {
45 type: "ADD_VIDEO",
46 value,
47 };
48 }
49
50 /**
51 * Presets
52 */
53 export function setPresets(value) {
54 return {
55 type: "SET_PRESET",
56 value,
57 };
58 }
59 export function addPreset(value) {
60 return {
61 type: "ADD_PRESET",
62 value,
63 };
64 }
65 export function updatePreset(value) {
66 return {
67 type: "UPDATE_PRESET",
68 value,
69 };
70 }
71 export function removePreset(value) {
72 return {
73 type: "REMOVE_PRESET",
74 value,
75 };
76 }
77
78 /**
79 * Audio Presets
80 */
81
82 export function setAudioPresets(value) {
83 return {
84 type: "SET_AUDIO_PRESET",
85 value,
86 };
87 }
88
89 export function addAudioPreset(value) {
90 return {
91 type: "ADD_AUDIO_PRESET",
92 value,
93 };
94 }
95 export function updateAudioPreset(value) {
96 return {
97 type: "UPDATE_AUDIO_PRESET",
98 value,
99 };
100 }
101 export function removeAudioPreset(value) {
102 return {
103 type: "REMOVE_AUDIO_PRESET",
104 value,
105 };
106 }
107
108 /**
109 * Branding
110 */
111 export function setBranding(value) {
112 return {
113 type: "SET_BRANDING",
114 value,
115 };
116 }
117 export function updateBranding(name, value) {
118 return {
119 type: "UPDATE_BRANDING",
120 name,
121 value,
122 };
123 }
124
125 /**
126 * Save provided settings
127 */
128 export function saveOptions(args) {
129 return {
130 type: "SAVE_OPTIONS",
131 ...args,
132 };
133 }
134
135 /**
136 * FetchOptions
137 */
138 export function fetchOptions() {
139 return {
140 type: "FETCH_OPTIONS",
141 };
142 }
143
144 export function fetchFromAPI(path) {
145 return {
146 type: "FETCH_FROM_API",
147 path,
148 };
149 }
150
151 export function fetchFromWPAPI(path, args) {
152 return {
153 type: "FETCH_FROM_WP_API",
154 path,
155 args,
156 };
157 }
158
159 export function setYoutube(value) {
160 return {
161 type: "SET_YOUTUBE",
162 value,
163 };
164 }
165
166 export function updateYoutube(name, value) {
167 return {
168 type: "UPDATE_YOUTUBE",
169 name,
170 value,
171 };
172 }
173
174 export function setPresetSettings(value) {
175 return {
176 type: "SET_PRESET_SETTINGS",
177 value,
178 };
179 }
180
181 export function setPresetAudioSettings(value) {
182 return {
183 type: "SET_PRESET_AUDIO_SETTINGS",
184 value,
185 };
186 }