{ANCHOR }
ClipBucket anchors are basically hook points where you can execute your codes via plugins
for example
if you want to call code under your video player, you will simply create or write an anchor after your player code as follows
now if you want to call code at this anchor, you will simply âregister anchor codeâ or âanchor functionâ
there are two functions for registering codes for anchor points
register_anchor
register_anchor_function
Register_Anchor
now if you want to show a text âHello World!â , you simply have to do is
Register_Anchor_Function
now if you want to execute a function on place âafter_video_playerâ , here how you will do that
and you also have to write my_function code such as
Passing Parameters To Function Via Anchor
if you want to pass paramters to function via anchor, its really simple. First you have to add a paramter in anchor function
and the function you want to call is my_function($text) , you just have to do is
it will show the whole phrase as âHello World! This is me, Mickeyâ;
Hope i have cleared the mystery of our Anchor points, need more help regarding this , please leave a comment or discuss it on forums.clip-bucket.com
Last updated