Hi Iain,

You're right, this is not really an Angular question. However..

If you are using Yeoman with Angular then I doubt this is a bower issue. More 
likely to do with your Grunt configuration not finding the images. Check in the 
".tmp" and "dist" folder created when you run the default build (grunt 
default). Do you see your images in there? if not, then it is likely because 
your images are nested more than one folder deep.

But again, I don't know anything about video.js, and you haven't provided 
enough information or sample of your Gruntfile / package.json / bower.json 
files to infer much. It is most likely your Gruntfile not recursively looking 
for your images - you need a pattern like "/**/*" rather than the default "*." 
which would indicate a flat one level deep images directory.

There are several places you would need to update in your grunt file - rev, 
imagemin, svgmin etc depending on what tasks you are including.

Also, check the "copy" task - something like:

copy: {
            dist: {
                files: [
                    {
                        expand: true,
                        dot: true,
                        cwd: '<%= app.src %>',
                        dest: '<%= app.dist %>',
                        src: [
                            '*.{ico,png,txt}',
                            '.htaccess',
                            '*.html',
                            'scripts/**/*.html',
                            'images/**/*.{webp}',
                            'fonts/*'
                        ]
                    },

Finally, if you are using font-awesome then yes, this does require extra 
attention. But that is a separate issue only worth discussing if relevant.

Best of luck.




On 9 May 2014, at 02:47, Iain Duncan <[email protected]> wrote:

> Apologies if this isn't really an Angular issue, I'm not sure.
> 
> I've made an app using the yeoman angular generator and bower to install 
> video.js. It's working great in dev mode, but when I build, my video js 
> control images are missing. I'm guessing I'm missing a step some where in the 
> build configuration process, if anyone can tell me what that is that would be 
> luverly.
> 
> thanks!
> Iain
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to