Video does not save
-
This seems to be an awesome plugin, but my issue is that the videos don’t seem to be saving. The recorder records, then asks for the thumbnail image, then it uploads and processes the video, then it offers to play/re-record the video.
However, I can’t seem to get the video to show up on the video wall.I’m using the default templates – here’s the page:
https://www.medicalpracticeextenders.com/test-video-record-page/What am I missing?
-
Glad to hear that you like it ??
Looking at the page I see 2 embeddings:
1. set up with custom tags, which is post recorder. It does not seem to be connected to any specific post, so I presume that you have manually set the tags for the embedding/template?
2. The second embedding is called as video player, without a video token.
For example, it should be something like:
<ziggeo ziggeo-video="1234567890"></ziggeo>
Which would then show the specified video. On your page, it is set up as:
<ziggeo ziggeo-video="VIDEO_TOKEN" ziggeo-width=320 ziggeo-height=240></ziggeo>
And it can not find any videos with token equal to “VIDEO_TOKEN“
If you have version v1.13 of our plugin, you could use video wall to show the videos. Currently I do not see any code for video wall on that page.
I do however suggest to upgrading to latest version at this time (1.14), as it will allow you to actually load any video, even if it is not recorded on that specific post, by setting up the
videos_to_show
parameter.For example, to show all of your videos recorded on your WordPress website, you could add the following to your post:
[ziggeovideowall show videos_to_show='wordpress' show_videos='all']
Or to show all videos in general, just leave the 2 single quotes as they are (without wordpress part):
[ziggeovideowall show videos_to_show='' show_videos='all']
Do of course let us know how it goes and if you need any assistance with the same ??
Hi ??
Just wanted to make a followup with you to see if you managed to use the plugin properly on your website at this time?
Please do let us know if you have any further questions, here, on our forum: https://support.ziggeo.com/hc/en-us/community/topics/200753347-WordPress-plugin or on our helpdesk: https://support.ziggeo.com ??
Bane
I will mark this as resolved, however as mentioned previously, just let us know if you have any questions or issues over our support pages or here and we will be happy to follow up and assist with the same ??
Thanks for the reply – I’ve been out of state for a bit and can now address our video issue.
The page I previously submitted was a test page. We have had ziggeo incorporated into our site on the resume page – HERE
You will have to create an account to get there.
Can you take a look and tell me what is missing?
I can record a video and it uploads it and seems to save it, but it doesn’t.
We need each individual video to be assigned only to the resume of the person who creates it, and then for an employer to be able to see the video when that person’s resume is selected.
Hopefully, I have given you enough info to diagnose my issue(s)…I created an account for testing that you can use – the username and password are both “tester”
Hi,
I would first like to mention that in general sharing username and password here is generally not considered as secure since it gives access to specific level of your WordPress website.
I did however check it out and see that it is low privilege account, which is better as it does not allow anything, still the above stands for security of your website (so feel free to change or remove the same once we are finished).
Now onto the issue ??
Looking at the embedding, it seems to be limited to 15 seconds with 320×240 dimensions, allowing uploads and overwrites.
Now looking into your Ziggeo account I can see 19 videos. That suggests that your videos did get recorded – most through our plugin. There also seems to be few videos that did not get recorded through our plugin – currently I see that you have embedded the resources through a different plugin instead of using our own to help you build the embeddings.
*If you do not mind, I would like to ask if there a specific reason for that? – Maybe something missing or something that was not straight forward with our plugin or you just prefer using it like that? – just asking to better understand the use case.
Based on what you have mentioned, you seem to actually want to do the following:
1. create a recording on the “my-resume” page
2. once created, show the video instead of recorder templateAnd the issue is that no matter how many times you record / upload it there, it never shows the video for you. Is that correct?
If so, it would require a bit different approach, however we would be happy to assist with the same ??
If not, do let let us know a bit more details on what should happen after the recording is made and where the videos would be shown.
PS: To see videos recorded, you should:
1. Log into your Ziggeo account
2. Click on Application that you are using (“Default”)
3. Click on Videos
4. Clicking on each video you will be shown its details and video for playback.Bane
The reason we used a separate plugin to integrate ziggeo is that we wanted to add ziggeo to a jobboard plugin that we bought. We had the jobboard creators integrate ziggeo into their plugin. It’s a bit above my capabilities…
Now, on to the issue ??
Yes, we want to do exactly what you mentioned above with the addition of:
1. create a recording on the “my-resume” page
2. once created, show the video instead of recorder template with option to re-record. (only one video per resume)
3. Have the video show up in the resume when the resume is viewed by a doctor. For instance – This PageWe probably need to have the recorder use a “ziggeo-key”, probably the username of the maker of the video?
Then have a listener see the video is recorded/uploaded and show the player instead of the recorder.Then when the video is viewed by a doctor, have the video called up using the “ziggeo-key”/username?
If the above is somewhat correct, I’ll say that I can RTFM, but implementing it into someone else’s code is beyond me. If it’s not correct… well…
Can you help? ??
OK, I see what you mean and how so thank you for additional details ??
***
Now I want to mention that it seems that they did already make the implementation for this (since I can not see the PHP in the back I can not be sure), however they are using AJAX to save the data, which is not saved due to the AJAX not being added to the same pages.By default the AJAX is only available for background pages / in the admin pages.
What that means is that they would need to register the wp_head hook with the name of the function that will handle the AJAX calls.
I have noticed this after submitting a test video and testing it out after adding a bit more details. As such I have moved this to the top and I am leaving the rest for you to check out and see the idea – in case it is not working as it is after they add the AJAX to your website frontend as well for their callbacks.
****Yes, you could use the key parameter (ziggeo-key) however you could just save and load token as well instead.
Key is a way for you to quickly load some video by using a readable token -> key.
For example, if you show example of how the resume video should look, instead of remembering “1234567890123456789” as video token, you could save and load it by key as “sample_resume“.
This would allow you to simply call it with
ziggeo-key="_sample_resume"
* It might be good to point out that key saved always gets underscore before it when it is loaded, so the above underscore is intentional.
What I would do is to actually change your embedding and page a bit.
1. Add a hidden input field that will save our token after recording / uploading
<input id="ziggeo_token_field" name="ziggeo_token_field" type="hidden">
* This to be added to the my-resume page. Preferably somewhere around the embedding so that it is easy to change code later if needed.
Change the embedding code from:
<ziggeo ziggeo-limit=15 ziggeo-width=320 ziggeo-height=240 ziggeo-perms="allowupload,forceoverwrite" ziggeo-modes="recorder"> </ziggeo>
to:
<div id=”ziggeo_recorder_placeholder”></div>
and then add:
<script type="text/javascript"> var token = document.getElementById('ziggeo_token_field'); if(token && token.value && token.value !== "") { //Token is already present, we just need to show the player at this time var embedding = ZiggeoApi.Embed.embed("#ziggeo_recorder_placeholder", {width:320, height:240, video:token.value}); } else { //we do not have token present, we should show the recorder var embedding = ZiggeoApi.Embed.embed("#ziggeo_recorder_placeholder", {limit:15, width:320, height:240, perms:['allowupload', 'forceoverwrite'], modes:['rerecorder']}); } </script>
* Of course, I presume that you might be changing the video to be longer than 15 seconds, in which case, you would just change the ziggeo-limit=15 to some other number in seconds.
Now I am not familiar with that plugin, so I am not sure how they handle the fields saves and if we can create a new field just by adding its HTML into the page (we might need to check with them if it is not working by some chance).
I do see that they did add the following code:
ZiggeoApi.Events.on("submitted", function (data) { //alert("Submitted a new video with token '" + data.video.token + "'!"); jQuery.ajax({ url: ajaxurl, type: "GET", data: {ziggeo_token: data.video.token, action: "wpjb_ziggeo_save_video"}, success: function(response) { //alert(response); } }); });
They seem to already be sending the video tokens over to the back through AJAX. I would only presume that you might want to change the callback to POST rather than GET like so:
ZiggeoApi.Events.on("submitted", function (data) { //alert("Submitted a new video with token '" + data.video.token + "'!"); jQuery.ajax({ url: ajaxurl, type: "POST", data: {ziggeo_token: data.video.token, action: "wpjb_ziggeo_save_video"}, success: function(response) { alert(response); //You would remove this line later } }); });
*You can see above the following:
alert(response); //You would remove this line later
I left it as it is for now so that you get a “popup” telling you what happens when you try to save the video (allowing us to see what actually happens), then once it all works, you can simply remove that line.
Once that is all done and working, you should have a way to load the token on your page: /resume/tester-tester/
Bane
- The topic ‘Video does not save’ is closed to new replies.