Skip to content

Fix issue with comments and tags not applying correctly to mp4 videos. #2

@obrienwr

Description

@obrienwr

Last time we updated hives AppMAIS6L and 6R, Dr. T reported issues where the tags and comments were displaying incorrectly. This is because the video filepaths are hard-coded to h264 videos. To fix this, it shouldn't need to be more than finding the places where h264 filepaths are hard coded and replacing it with a simple check to determine if there is a h264 file there, and if there is not, then attempt the same with an mp4 file extension.

I'm pretty certain that this would fix the problem. To help with parsing through the Angular code, I found that the newComment socket action(?) is one of the places where this would need to be fixed. That is, line 49 of comment.server.controller.js. I imagine there's a similar line in the tag controller.

When you think you've fixed the issue, merge into the dev branch, wait for the site to rebuild, then check on whether it is working at https://beemon-dev.cs.appstate.edu/.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions